Commit 34306921 authored by Philipp Hörist's avatar Philipp Hörist

Correctly parse delay in groupchats

parent 8094cadb
......@@ -213,7 +213,10 @@ class Message:
groupchat = event.mtype == 'groupchat'
# Determine timestamps
delay_jid = self._con.get_own_jid().getDomain()
if groupchat:
delay_jid = event.jid
delay_jid = self._con.get_own_jid().getDomain()
timestamp = parse_delay(event.stanza, from_=delay_jid)
if timestamp is None:
timestamp = time.time()
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