diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp index 991fa6dbb2..5563bee8d3 100644 --- a/src/mir_app/src/chat_manager.cpp +++ b/src/mir_app/src/chat_manager.cpp @@ -844,7 +844,8 @@ static BOOL UM_RemoveUser(SESSION_INFO *si, const wchar_t *pszUID) return FALSE;
auto &arKeys = si->getKeyList();
- arKeys.remove(pUser);
+ if (arKeys.remove(pUser) == -1)
+ DebugBreak();
auto &arUsers = si->getUserList();
for (auto &ui : arUsers) {
|