Use UUIDs in group database schema
This commit is contained in:
parent
74fde10ff5
commit
63fcdbe787
79 changed files with 4530 additions and 3664 deletions
|
@ -26,7 +26,7 @@ const mapStateToProps = (state: StateType): PropsDataType => {
|
|||
let isAdmin = false;
|
||||
if (contact && currentConversation && currentConversation.memberships) {
|
||||
currentConversation.memberships.forEach(membership => {
|
||||
if (membership.conversationId === contact.id) {
|
||||
if (membership.uuid === contact.uuid) {
|
||||
isMember = true;
|
||||
isAdmin = membership.isAdmin;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue