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

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent a399e59e
......@@ -30,7 +30,7 @@ class Plugin(BasePlugin):
def embed_image_url(self, args):
tab = self.api.current_tab()
message = self.core.xmpp.make_message(
message = self.core.xmpp.make_message(tab.jid)
message['body'] = args
message['oob']['url'] = args
if isinstance(tab, tabs.MucTab):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment