Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-09-29 01:24:42 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-09-29 01:26:02 +0300
commit1ea5bf8f0106bc2eb234a400e2c8791e61443907 (patch)
treea0d3347d7e645c1edf6f36fcb25c0b314a68c4fc
parentd564acac1974609a034a22685f0bd394429c37a0 (diff)
[httpupload] Dont catch all disco results
-rw-r--r--httpupload/httpupload.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpupload/httpupload.py b/httpupload/httpupload.py
index a802d50..12dfe8b 100644
--- a/httpupload/httpupload.py
+++ b/httpupload/httpupload.py
@@ -76,6 +76,9 @@ class HTTPUploadPlugin(GajimPlugin):
app.jid_is_transport(event.jid)):
return
+ if not event.id_.startswith('Gajim_'):
+ return
+
account = event.conn.name
interface = self.get_interface(account)
interface.enabled = True