Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
414c0a58d3
commit
366b875fd2
269 changed files with 5832 additions and 5550 deletions
|
@ -17,8 +17,8 @@ export function areWeAdmin(
|
|||
|
||||
const memberEnum = Proto.Member.Role;
|
||||
const members = attributes.membersV2 || [];
|
||||
const ourUuid = window.textsecure.storage.user.getUuid()?.toString();
|
||||
const me = members.find(item => item.uuid === ourUuid);
|
||||
const ourAci = window.textsecure.storage.user.getAci();
|
||||
const me = members.find(item => item.uuid === ourAci);
|
||||
if (!me) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue