diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-09-29 01:24:42 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-09-29 01:26:02 +0300 |
commit | 1ea5bf8f0106bc2eb234a400e2c8791e61443907 (patch) | |
tree | a0d3347d7e645c1edf6f36fcb25c0b314a68c4fc | |
parent | d564acac1974609a034a22685f0bd394429c37a0 (diff) |
[httpupload] Dont catch all disco results
-rw-r--r-- | httpupload/httpupload.py | 3 |
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 |