Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -29,7 +29,7 @@ const mapStateToProps = (state: StateType): PropsDataType => {
|
|||
let isAdmin = false;
|
||||
if (contact && currentConversation && currentConversation.memberships) {
|
||||
currentConversation.memberships.forEach(membership => {
|
||||
if (membership.uuid === contact.uuid) {
|
||||
if (membership.aci === contact.serviceId) {
|
||||
isMember = true;
|
||||
isAdmin = membership.isAdmin;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue