suggest bookmarked conferences servers in join conference dialog

This commit is contained in:
Daniel Gultsch 2017-05-04 11:28:54 +02:00
parent cc1402442a
commit 839178b269

View file

@ -3500,6 +3500,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;