mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 06:32:24 +00:00
start moving over/removing things from the CallViewModel
This commit is contained in:
1 parent
6b513534f1
commit
c8ef8d6a24
7 files changed
+231
-469
No files matched your search
@@ -41,7 +41,7 @@ function removeHiddenChars(str: string): string {
|
||||
export function shouldDisambiguate(
|
||||
member: { rawDisplayName?: string; userId: string },
|
||||
memberships: CallMembership[],
|
||||
room: Room,
|
||||
room: Pick<Room, "getMember">,
|
||||
): boolean {
|
||||
const { rawDisplayName: displayName, userId } = member;
|
||||
if (!displayName || displayName === userId) return false;
|
||||
|
||||
Reference in new issue
Block a user