aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2019-05-15 10:16:57 +0200
committernico <nico@magicbroccoli.de>2019-05-15 10:16:57 +0200
commitf5167f0c61cb18512e55154fee2c4c6f32c27a70 (patch)
tree49f218f18c520fafffeb13efd36c457278b442ca
parent3dc1256dade898711a35c2191e4a9c242fa9922b (diff)
ingest correct delay tag correction
* corrected a missed find
-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')