plugins/embed: use tab.jid instead of .name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
a399e59e46
commit
472e4371b1
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue