Commit f3aad52c authored by ge0rg's avatar ge0rg

Work around /upload not working in direct tabs (similar to #3449)

parent 06159c0e
...@@ -33,7 +33,7 @@ class Plugin(BasePlugin): ...@@ -33,7 +33,7 @@ class Plugin(BasePlugin):
def init(self): def init(self):
if not self.core.xmpp['xep_0363']: if not self.core.xmpp['xep_0363']:
raise Exception('slixmpp XEP-0363 plugin failed to load') 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( self.api.add_tab_command(
_class, _class,
'upload', 'upload',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment