From 2804799f61eb4c68c5cf88b9996d13a81fe6317d Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 13 Mar 2017 15:34:17 +0100 Subject: Reduce GTK dependency to 3.16, fix dark theme --- libdino/src/service/presence_manager.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libdino/src') 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 ret = new ArrayList(Jid.equals_func); - foreach (string resource in resources) { + resources.foreach((resource) => { ret.add(new Jid(resource)); - } + return true; + }); return ret; } return null; -- cgit v1.2.3-70-g09d2