diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-09-15 12:26:50 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-09-15 12:26:50 +0200 |
commit | 472e4371b1441ce0f9d93d2f1c1a572b2312d7db (patch) | |
tree | ac3cb2315f51a9ebc3ce573e7734b0d37ad2ae10 | |
parent | a399e59e463b3876f157caeb78f750c6fcd08947 (diff) | |
download | poezio-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>
-rw-r--r-- | plugins/embed.py | 2 |
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): |