Less strict uuid fetch in areWeAdmin
This commit is contained in:
parent
9ce8acc846
commit
6e394a84d6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue