diff options
author | Marvin W <git@larma.de> | 2017-03-13 15:34:17 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-03-13 15:34:17 +0100 |
commit | 2804799f61eb4c68c5cf88b9996d13a81fe6317d (patch) | |
tree | aafa39898d776d47293859d3afc90c57f744b2c9 /libdino/src | |
parent | bb811f8b29ed8be96664277d2b8ca8a1c9829602 (diff) | |
download | dino-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.vala | 5 |
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; |