From 736522737f4dae39af126353abfe26903b2c82ea Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 13 Feb 2019 21:50:15 +0100 Subject: Make file read/write async --- main/src/ui/chat_input/view.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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); } }); -- cgit v1.2.3-54-g00ecf