diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-11 19:48:41 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-11 19:48:41 +0200 |
commit | 610df2eddc06d9b7cbe0157a2f101eb9eaef76d0 (patch) | |
tree | 93fa18809c9b2cb606006e36801b513d81575bd8 /src/eu/siacs/conversations/services | |
parent | 690ee4988eda2c23830f514d31302b2837bd04f4 (diff) |
added join conference dialog
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index dcdd21ddf..259a2b801 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<String> getKnownConferenceHosts() { + ArrayList<String> mucServers = new ArrayList<String>(); + for (Account account : accounts) { + if (account.getXmppConnection() != null) { + String server = account.getXmppConnection().getMucServer(); + if (server != null) { + mucServers.add(server); + } + } + } + return mucServers; + } } |