summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-09-15 12:26:50 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-09-15 12:26:50 +0200
commit472e4371b1441ce0f9d93d2f1c1a572b2312d7db (patch)
treeac3cb2315f51a9ebc3ce573e7734b0d37ad2ae10 /plugins
parenta399e59e463b3876f157caeb78f750c6fcd08947 (diff)
downloadpoezio-472e4371b1441ce0f9d93d2f1c1a572b2312d7db.tar.gz
poezio-472e4371b1441ce0f9d93d2f1c1a572b2312d7db.tar.bz2
poezio-472e4371b1441ce0f9d93d2f1c1a572b2312d7db.tar.xz
poezio-472e4371b1441ce0f9d93d2f1c1a572b2312d7db.zip
plugins/embed: use tab.jid instead of .name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/embed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/embed.py b/plugins/embed.py
index 0cdc41d2..9895a927 100644
--- a/plugins/embed.py
+++ b/plugins/embed.py
@@ -30,7 +30,7 @@ class Plugin(BasePlugin):
def embed_image_url(self, args):
tab = self.api.current_tab()
- message = self.core.xmpp.make_message(tab.name)
+ message = self.core.xmpp.make_message(tab.jid)
message['body'] = args
message['oob']['url'] = args
if isinstance(tab, tabs.MucTab):