summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-06 11:30:44 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-06 11:30:44 +0300
commit5e3e73a695070af347a35bf29aacb5e9ff78910a (patch)
tree45109b042b29d245abf2db0e60ee06e57db6669e /protocols/Telegram/src
parentafa65514b75d61b2424b53f0444c92e450b7c8e4 (diff)
fixes #4020 (Telegram: попытка написать самому себе в приват из группового чата должна открывать Избранное)
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);
}