aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http-files')
-rw-r--r--plugins/http-files/src/file_provider.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/http-files/src/file_provider.vala b/plugins/http-files/src/file_provider.vala
index 7b52a7fb..a0fe1218 100644
--- a/plugins/http-files/src/file_provider.vala
+++ b/plugins/http-files/src/file_provider.vala
@@ -44,7 +44,7 @@ public class FileProvider : Dino.FileProvider, Object {
if (outer.url_regex.match(message.body)) {
string? oob_url = Xmpp.Xep.OutOfBandData.get_url_from_message(message.stanza);
if (oob_url != null && oob_url == message.body) {
- outer.on_file_message(message, conversation);
+ yield outer.on_file_message(message, conversation);
}
}
return false;
@@ -82,7 +82,6 @@ public class FileProvider : Dino.FileProvider, Object {
var session = new Soup.Session();
var head_message = new Soup.Message("HEAD", url_body);
if (head_message != null) {
- SourceFunc callback = get_meta_info.callback;
yield session.send_async(head_message, null);
string? content_type = null, content_length = null;