Skip to content

Commit

Permalink
Clear all chats unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
sorokya committed Mar 26, 2022
1 parent d2b2961 commit 483023c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions EndlessClient/Controllers/LoginController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ private void ClearChat()
{
foreach(var chat in _chatRepository.AllChat.Values)
{
if (chat.Count > 0)
chat.Clear();
chat.Clear();
}
}

Expand Down

0 comments on commit 483023c

Please sign in to comment.