Less strict uuid fetch in areWeAdmin
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
65b21be6de
commit
a76059eac5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue