suggest bookmarked conferences servers in join conference dialog
This commit is contained in:
parent
cc1402442a
commit
839178b269
|
@ -3500,6 +3500,12 @@ public class XmppConnectionService extends Service {
|
||||||
if (server != null && !mucServers.contains(server)) {
|
if (server != null && !mucServers.contains(server)) {
|
||||||
mucServers.add(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;
|
return mucServers;
|
||||||
|
|
Loading…
Reference in a new issue