From b5849a868eee40b430e885f65ed4302df8e722aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 19 Jul 2019 18:55:16 +0200 Subject: plugins: Make all changed plugins work in 1:1 tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were still using tabs.ConversationTab that's been replaced by Dynamic and StaticConversationTab. These class have been introduced after resource locking was removed in 1:1, because they were needed for some plugins like OTR. Signed-off-by: Maxime “pep” Buquet --- plugins/vcard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/vcard.py') diff --git a/plugins/vcard.py b/plugins/vcard.py index 09dcda28..e3a776e3 100644 --- a/plugins/vcard.py +++ b/plugins/vcard.py @@ -61,7 +61,7 @@ class Plugin(BasePlugin): help='Send an XMPP vcard request to jid (see XEP-0054).', short='Send a vcard request.', completion=self.completion_vcard) - for _class in (tabs.PrivateTab, tabs.ConversationTab): + for _class in (tabs.PrivateTab, tabs.DynamicConversationTab, tabs.StaticConversationTab): self.api.add_tab_command( _class, 'vcard', -- cgit v1.2.3