diff options
-rw-r--r-- | protocols/Steam/src/steam_chats.cpp | 2 | ||||
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_chats.cpp b/protocols/Steam/src/steam_chats.cpp index 8e956b33ff..650e1bcfe1 100644 --- a/protocols/Steam/src/steam_chats.cpp +++ b/protocols/Steam/src/steam_chats.cpp @@ -197,6 +197,8 @@ void CSteamProto::OnLeftChat(const CChatRoomLeaveChatRoomGroupResponse&, const C db_delete_contact(cc); } + + delete pGroupId; } } diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 9bc052a324..0e012d8351 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -363,6 +363,9 @@ void CSteamProto::OnGotFriendList(const CMsgClientFriendsList &reply, const CMsg // Check and update contacts in database for (auto &hContact : AccContacts()) { + if (Contact::IsGroupChat(hContact)) + continue; + int64_t steamId(GetId(hContact, DBKEY_STEAM_ID)); if (!steamId) continue; |