Commit bb4cb499 authored by Thilo Molitor's avatar Thilo Molitor

Corrected some typo (syntax error)

parent 870b5a22
......@@ -573,8 +573,8 @@ class XMPPDispatcher(PlugIn):
# If no ID then it is a whitespace
if and and ID:
# add timestamp to message stanza in queue
if stanza.getName == 'message'
and (stanza.getType() == 'chat' or stanza.getType() == 'groupchat'):
if stanza.getName() == 'message' and \
(stanza.getType() == 'chat' or stanza.getType() == 'groupchat'):
our_jid = stanza.getAttr('from')
timestamp = time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime(None))
stanza.addChild('delay', namespace=NS_DELAY2,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment