summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r--protocols/Telegram/src/groupchat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/groupchat.cpp b/protocols/Telegram/src/groupchat.cpp
index ae2eaec808..ddd51c036f 100644
--- a/protocols/Telegram/src/groupchat.cpp
+++ b/protocols/Telegram/src/groupchat.cpp
@@ -275,7 +275,7 @@ void CTelegramProto::Chat_SendPrivateMessage(GCHOOK *gch)
Contact::Hide(hContact);
db_set_dw(hContact, "Ignore", "Mask1", 0);
}
- else hContact = pUser->hContact;
+ else hContact = GetRealContact(pUser);
CallService(MS_MSG_SENDMESSAGE, hContact, 0);
}