mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-21 20:28:07 -04:00
deadlock cleanup
This commit is contained in:
parent
23867a1784
commit
2141dbff21
40 changed files with 254 additions and 253 deletions
|
@ -86,14 +86,12 @@ class ChatListCubit extends DHTShortArrayCubit<proto.Chat>
|
|||
// Nothing to do here
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case proto.Chat_Kind.group:
|
||||
if (c.group.localConversationRecordKey ==
|
||||
contact.localConversationRecordKey) {
|
||||
throw StateError('direct conversation record key should'
|
||||
' not be used for group chats!');
|
||||
}
|
||||
break;
|
||||
case proto.Chat_Kind.notSet:
|
||||
throw StateError('unknown chat kind');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue