From 610df2eddc06d9b7cbe0157a2f101eb9eaef76d0 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Fri, 11 Jul 2014 19:48:41 +0200 Subject: added join conference dialog --- .../siacs/conversations/services/XmppConnectionService.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/eu/siacs/conversations/services') diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index dcdd21dd..259a2b80 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1529,4 +1529,17 @@ public class XmppConnectionService extends Service { } return hosts; } + + public List getKnownConferenceHosts() { + ArrayList mucServers = new ArrayList(); + for (Account account : accounts) { + if (account.getXmppConnection() != null) { + String server = account.getXmppConnection().getMucServer(); + if (server != null) { + mucServers.add(server); + } + } + } + return mucServers; + } } -- cgit v1.2.3