diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-26 12:10:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-26 12:10:50 +0300 |
commit | 9e0c35d15d5f2b6a3380aee828d5d1a735d552f7 (patch) | |
tree | 24d0e12d5c5c616b899ea51c9bf171cb72524b56 /src/mir_app | |
parent | 6e2c04c2c7ea221afb58e71f6e99f2d0ed1c7781 (diff) |
s-shit...
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp index 0a89030837..ce6af63eee 100644 --- a/src/mir_app/src/chat_manager.cpp +++ b/src/mir_app/src/chat_manager.cpp @@ -715,11 +715,11 @@ USERINFO* UM_AddUser(SESSION_INFO *si, const wchar_t *pszUID, const wchar_t *psz auto *pUser = UM_FindUser(si, pszUID);
if (pUser == nullptr) {
pUser = new USERINFO();
+ replaceStrW(pUser->pszUID, pszUID);
si->getKeyList().insert(pUser);
si->getUserList().insert(pUser);
}
- replaceStrW(pUser->pszUID, pszUID);
replaceStrW(pUser->pszNick, pszNick);
pUser->Status = wStatus;
return pUser;
|