From 6e394a84d690e47a2f3731ae81a9e1e9c5432064 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 10 Nov 2021 00:48:27 +0100 Subject: [PATCH] Less strict uuid fetch in areWeAdmin --- ts/models/conversations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index e43694997..96d90fb72 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -4626,7 +4626,7 @@ export class ConversationModel extends window.Backbone const memberEnum = Proto.Member.Role; const members = this.get('membersV2') || []; - const ourUuid = window.textsecure.storage.user.getCheckedUuid().toString(); + const ourUuid = window.textsecure.storage.user.getUuid()?.toString(); const me = members.find(item => item.uuid === ourUuid); if (!me) { return false;