mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: deduplicate collab avatars based on id
(#5309)
This commit is contained in:
parent
ec35d5db51
commit
5feacd9a3b
7 changed files with 54 additions and 48 deletions
|
@ -48,6 +48,8 @@ export type Collaborator = {
|
|||
// The url of the collaborator's avatar, defaults to username intials
|
||||
// if not present
|
||||
avatarUrl?: string;
|
||||
// user id. If supplied, we'll filter out duplicates when rendering user avatars.
|
||||
id?: string;
|
||||
};
|
||||
|
||||
export type DataURL = string & { _brand: "DataURL" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue