summaryrefslogtreecommitdiff
path: root/plugins/vcard.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-07-19 18:55:16 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-07-19 18:55:16 +0200
commitb5849a868eee40b430e885f65ed4302df8e722aa (patch)
tree8795bafaad54298999b38e62286da642472ee77d /plugins/vcard.py
parent7fe073c602957248a03fa3db0bebef4e8d768455 (diff)
downloadpoezio-b5849a868eee40b430e885f65ed4302df8e722aa.tar.gz
poezio-b5849a868eee40b430e885f65ed4302df8e722aa.tar.bz2
poezio-b5849a868eee40b430e885f65ed4302df8e722aa.tar.xz
poezio-b5849a868eee40b430e885f65ed4302df8e722aa.zip
plugins: Make all changed plugins work in 1:1 tabs
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 <pep@bouah.net>
Diffstat (limited to 'plugins/vcard.py')
-rw-r--r--plugins/vcard.py2
1 files changed, 1 insertions, 1 deletions
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',