diff options
author | fiaxh <git@mx.ax.lt> | 2017-09-26 17:01:06 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-09-26 17:01:06 +0200 |
commit | 9d8e1e88ec61403659a8cc410d5c4414e3bd3a96 (patch) | |
tree | 40f1014b7511fd5951035cb706f06d4daa2a42f0 /libdino/src | |
parent | 54a25fd926070a977138cec94908c55806e22f4a (diff) | |
download | dino-9d8e1e88ec61403659a8cc410d5c4414e3bd3a96.tar.gz dino-9d8e1e88ec61403659a8cc410d5c4414e3bd3a96.zip |
http-files: max-file-size handling
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/service/connection_manager.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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; |