From 9d8e1e88ec61403659a8cc410d5c4414e3bd3a96 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 26 Sep 2017 17:01:06 +0200 Subject: http-files: max-file-size handling --- libdino/src/service/connection_manager.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdino') diff --git a/libdino/src/service/connection_manager.vala b/libdino/src/service/connection_manager.vala index 2be16a21..f9dbb0e1 100644 --- a/libdino/src/service/connection_manager.vala +++ b/libdino/src/service/connection_manager.vala @@ -145,7 +145,7 @@ public class ConnectionManager { private Core.XmppStream? connect_(Account account, string? resource = null) { if (!connection_mutexes[account].trylock()) return null; - if (connections.has_key(account)) connections[account].stream.remove_modules(); + if (connections.has_key(account)) connections[account].stream.detach_modules(); connection_errors.unset(account); if (resource == null) resource = account.resourcepart; -- cgit v1.2.3-70-g09d2