aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-09-26 17:01:06 +0200
committerfiaxh <git@mx.ax.lt>2017-09-26 17:01:06 +0200
commit9d8e1e88ec61403659a8cc410d5c4414e3bd3a96 (patch)
tree40f1014b7511fd5951035cb706f06d4daa2a42f0 /libdino/src
parent54a25fd926070a977138cec94908c55806e22f4a (diff)
downloaddino-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.vala2
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;