diff options
author | fiaxh <git@lightrise.org> | 2019-05-21 21:42:39 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-05-26 20:20:09 +0200 |
commit | 03f25e1f87dd4608c7cf4d0f97d1cb2e0141094d (patch) | |
tree | edbbef9cad6e0548ea27bb09c988b4717c49cb37 /plugins/http-files/src | |
parent | 32687d731f50969545e0122e13c395cfa5f859a1 (diff) | |
download | dino-03f25e1f87dd4608c7cf4d0f97d1cb2e0141094d.tar.gz dino-03f25e1f87dd4608c7cf4d0f97d1cb2e0141094d.zip |
Remove Message.stanza field
Diffstat (limited to 'plugins/http-files/src')
-rw-r--r-- | plugins/http-files/src/file_provider.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http-files/src/file_provider.vala b/plugins/http-files/src/file_provider.vala index 34106d42..06b20e92 100644 --- a/plugins/http-files/src/file_provider.vala +++ b/plugins/http-files/src/file_provider.vala @@ -37,7 +37,7 @@ public class FileProvider : Dino.FileProvider, Object { public override async bool run(Entities.Message message, Xmpp.MessageStanza stanza, Conversation conversation) { if (outer.url_regex.match(message.body)) { - string? oob_url = Xmpp.Xep.OutOfBandData.get_url_from_message(message.stanza); + string? oob_url = Xmpp.Xep.OutOfBandData.get_url_from_message(stanza); if (oob_url != null && oob_url == message.body) { yield outer.on_file_message(message, conversation); } |