aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-13 15:34:17 +0100
committerMarvin W <git@larma.de>2017-03-13 15:34:17 +0100
commit2804799f61eb4c68c5cf88b9996d13a81fe6317d (patch)
treeaafa39898d776d47293859d3afc90c57f744b2c9 /libdino/src
parentbb811f8b29ed8be96664277d2b8ca8a1c9829602 (diff)
downloaddino-2804799f61eb4c68c5cf88b9996d13a81fe6317d.tar.gz
dino-2804799f61eb4c68c5cf88b9996d13a81fe6317d.zip
Reduce GTK dependency to 3.16, fix dark theme
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/service/presence_manager.vala5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdino/src/service/presence_manager.vala b/libdino/src/service/presence_manager.vala
index fd78496f..6a8d77aa 100644
--- a/libdino/src/service/presence_manager.vala
+++ b/libdino/src/service/presence_manager.vala
@@ -47,9 +47,10 @@ public class PresenceManager : StreamInteractionModule, Object {
return null;
}
ArrayList<Jid> ret = new ArrayList<Jid>(Jid.equals_func);
- foreach (string resource in resources) {
+ resources.foreach((resource) => {
ret.add(new Jid(resource));
- }
+ return true;
+ });
return ret;
}
return null;