From a76059eac5f902ee5daba3d59d1238ac28a9c25e Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Tue, 9 Nov 2021 16:57:57 -0800 Subject: [PATCH] Less strict uuid fetch in areWeAdmin Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> --- 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 cf227caca..79af84a70 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -4629,7 +4629,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;