diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-15 18:35:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-15 18:35:28 +0300 |
commit | 436e303e24e5046d6cc52ac3da51a0b51adbef36 (patch) | |
tree | 4f7d3b27ad24e710dae845558e2d719b54d1d88a /protocols/JabberG/src/jabber_proto.cpp | |
parent | f0d86d413859d402331b49b98db7d61fef801489 (diff) |
simpler way of applying server ids to messages
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 5c496b1e6f..dfcea18fb0 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -602,6 +602,8 @@ INT_PTR CJabberProto::GetCaps(int type, MCONTACT hContact) dwFlags = PF4_FORCEAUTH | PF4_NOCUSTOMAUTH | PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_READNOTIFY;
if (m_bUseHttpUpload || m_bInlinePictures)
dwFlags |= PF4_OFFLINEFILES;
+ if (m_ThreadInfo && (m_ThreadInfo->jabberServerCaps & JABBER_CAPS_MAM))
+ dwFlags |= PF4_SERVERMSGID;
return dwFlags;
case PFLAG_UNIQUEIDTEXT:
|