From 472e4371b1441ce0f9d93d2f1c1a572b2312d7db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 15 Sep 2019 12:26:50 +0200 Subject: plugins/embed: use tab.jid instead of .name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/embed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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): -- cgit v1.2.3