From f5167f0c61cb18512e55154fee2c4c6f32c27a70 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 15 May 2019 10:16:57 +0200 Subject: ingest correct delay tag correction * corrected a missed find --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3-54-g00ecf