diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-05-09 21:19:23 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-05-09 21:19:23 +0200 |
commit | 01aca0599d7f7689e7ebdc6f5e8834de93fac391 (patch) | |
tree | 6df8f73ccf29ec253cd62737d6c69c7b5d499124 | |
parent | 5fa3c312a592f58af9eba21e259ce5a402d86774 (diff) |
suggest bookmarked conferences servers in join conference dialog
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index a09bc5761..d598bcc4e 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -3672,6 +3672,12 @@ public class XmppConnectionService extends Service { if (server != null && !mucServers.contains(server)) { mucServers.add(server); } + for (Bookmark bookmark : account.getBookmarks()) { + final String s = bookmark.getJid().getDomainpart(); + if (s != null && !mucServers.contains(s)) { + mucServers.add(s); + } + } } } return mucServers; |