Less strict uuid fetch in areWeAdmin
This commit is contained in:
@@ -4626,7 +4626,7 @@ export class ConversationModel extends window.Backbone
|
|||||||
|
|
||||||
const memberEnum = Proto.Member.Role;
|
const memberEnum = Proto.Member.Role;
|
||||||
const members = this.get('membersV2') || [];
|
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);
|
const me = members.find(item => item.uuid === ourUuid);
|
||||||
if (!me) {
|
if (!me) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user