Commit 472e4371 authored by Maxime Buquet's avatar Maxime Buquet

plugins/embed: use tab.jid instead of .name

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent a399e59e
Pipeline #2448 passed with stages
in 2 minutes and 39 seconds
......@@ -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):
......
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