get rid of soprani.ca leftofvers

This commit is contained in:
kosyak 2023-10-06 11:14:10 +02:00
parent c9c98d98e6
commit 663a0feecb

View file

@ -1023,7 +1023,6 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
this.contacts.clear();
ArrayList<ListItem.Tag> tags = new ArrayList<>();
final List<Account> accounts = xmppConnectionService.getAccounts();
boolean foundSopranica = false;
for (Account account : accounts) {
if (account.getStatus() != Account.State.DISABLED) {
for (Contact contact : account.getRoster().getContacts()) {
@ -1045,9 +1044,6 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
for (Bookmark bookmark : account.getBookmarks()) {
if (bookmark.match(this, needle)) {
if (bookmark.getJid().toString().equals("discuss@conference.soprani.ca")) {
foundSopranica = true;
}
this.contacts.add(bookmark);
tags.addAll(bookmark.getTags(this));
}