summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Steam/src/steam_proto.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index 8cb61b5491..42d0004b64 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -297,7 +297,9 @@ HANDLE CSteamProto::GetAwayMsg(MCONTACT hContact)
bool CSteamProto::OnContactDeleted(MCONTACT hContact, uint32_t)
{
// remove only authorized contacts
- if (!getByte(hContact, "Auth"))
+ if (Contact::IsGroupChat(hContact))
+ SvcLeaveChat(hContact, 0);
+ else if (!getByte(hContact, "Auth"))
SendUserRemoveRequest(hContact);
return true;