summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_groupchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp2
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)