diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-10 20:12:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-10 20:12:40 +0000 |
commit | e1a9895ffcc730f80fd776b864842215e2e4a561 (patch) | |
tree | bbe6fde6fee75f18a847e618e86440e50d1bdb2b /protocols/JabberG/src/jabber_groupchat.cpp | |
parent | c8f9e295b0fd7baeb28dcc308f22967a482f51c4 (diff) |
Jabber XEP-203 support for groupchat messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@3038 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_groupchat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp index e80628ec8f..c6b2481a1b 100644 --- a/protocols/JabberG/src/jabber_groupchat.cpp +++ b/protocols/JabberG/src/jabber_groupchat.cpp @@ -1241,6 +1241,8 @@ void CJabberProto::GroupchatProcessMessage(HXML node) if (!_tcscmp(p, _T("jabber:x:delay")) && !msgTime)
if ((p = xmlGetAttrValue(xNode, _T("stamp"))) != NULL)
msgTime = JabberIsoToUnixTime(p);
+ if (!msgTime)
+ JabberReadXep203delay(xNode, msgTime);
time_t now = time(NULL);
if (!msgTime || msgTime > now)
|