fix moderator crown only for moderator

pull/1410/head
Audric Ackermann 4 years ago
parent 2a02b5498b
commit c23231f25f
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -567,8 +567,7 @@
const conversation = this.getConversation();
const isModerator =
conversation &&
!!conversation.isModerator(textsecure.storage.user.getNumber());
conversation && !!conversation.isModerator(phoneNumber);
const convoId = conversation ? conversation.id : undefined;
const isGroup = !!conversation && !conversation.isPrivate();

Loading…
Cancel
Save