aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-02-13 21:50:15 +0100
committerfiaxh <git@lightrise.org>2019-02-14 00:04:01 +0100
commit736522737f4dae39af126353abfe26903b2c82ea (patch)
treec0e607550476b779e263fd772894e5816ee645cd /main
parentd668e0158df40e1bb1ea00ab72fac9d0e95e8bd9 (diff)
downloaddino-736522737f4dae39af126353abfe26903b2c82ea.tar.gz
dino-736522737f4dae39af126353abfe26903b2c82ea.zip
Make file read/write async
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/chat_input/view.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala
index dd111997..5e1ccb71 100644
--- a/main/src/ui/chat_input/view.vala
+++ b/main/src/ui/chat_input/view.vala
@@ -54,7 +54,7 @@ public class View : Box {
// }
if (chooser.run() == Gtk.ResponseType.ACCEPT) {
string uri = chooser.get_filename();
- stream_interactor.get_module(FileManager.IDENTITY).send_file(uri, conversation);
+ stream_interactor.get_module(FileManager.IDENTITY).send_file.begin(uri, conversation);
}
});