summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2018-11-27 13:38:04 +0100
committerGeorg Lukas <georg@op-co.de>2018-12-16 19:02:06 +0100
commitf3aad52c7febd63fc251cf70604326eb14e57f61 (patch)
treea9ce0fb8b70a714b5a0738ee909fe24f0100aba9 /plugins
parent06159c0e1fad1f47058f558a1969d87b2f6b0649 (diff)
downloadpoezio-f3aad52c7febd63fc251cf70604326eb14e57f61.tar.gz
poezio-f3aad52c7febd63fc251cf70604326eb14e57f61.tar.bz2
poezio-f3aad52c7febd63fc251cf70604326eb14e57f61.tar.xz
poezio-f3aad52c7febd63fc251cf70604326eb14e57f61.zip
Work around /upload not working in direct tabs (similar to #3449)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/upload.py b/plugins/upload.py
index db8615c2..7e25070e 100644
--- a/plugins/upload.py
+++ b/plugins/upload.py
@@ -33,7 +33,7 @@ class Plugin(BasePlugin):
def init(self):
if not self.core.xmpp['xep_0363']:
raise Exception('slixmpp XEP-0363 plugin failed to load')
- for _class in (tabs.PrivateTab, tabs.ConversationTab, tabs.MucTab):
+ for _class in (tabs.PrivateTab, tabs.StaticConversationTab, tabs.DynamicConversationTab, tabs.MucTab):
self.api.add_tab_command(
_class,
'upload',