Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
HOTFIX Remove chat ghost after deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Boehrsi committed Apr 18, 2019
1 parent 5ee1d70 commit ae0534b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/chat/chat_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ class ChatBloc extends Bloc<ChatEvent, ChatState> {
dispatch(ChatLoaded(name, subTitle, color, freshMessageCount, isSelfTalk, _isGroup, chat.chatSummary.preview, chat.chatSummary.timestamp));
}

void _markNoticedChat() async{
void _markNoticedChat() async {
if (!chatRepository.contains(_chatId)) {
return;
}
Context context = Context();
await context.markNoticedChat(_chatId);
Chat chat = chatRepository.get(_chatId);
Expand Down

0 comments on commit ae0534b

Please sign in to comment.