aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index cf59191..e3ec788 100755
--- a/main.py
+++ b/main.py
@@ -85,7 +85,7 @@ class AbuseReport:
if "@" in tag.get("from"):
continue
- spam_time = message_parsed.find('.//{urn:xmpp:delay}delay').get('stamp')
+ spam_time = tag.get('stamp')
# body
spam_body = message_parsed.find('{jabber:client}body')