get rid of soprani.ca bookmark

This commit is contained in:
kosyak 2023-10-06 11:13:24 +02:00
parent b83d224652
commit c9c98d98e6

View file

@ -1067,18 +1067,6 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
);
Collections.sort(this.contacts);
final boolean sopranicaDeleted = getPreferences().getBoolean("cheogram_sopranica_bookmark_deleted", false);
if (!sopranicaDeleted && !foundSopranica && (needle == null || needle.equals("")) && xmppConnectionService.getAccounts().size() > 0) {
Bookmark bookmark = new Bookmark(
xmppConnectionService.getAccounts().get(0),
Jid.of("discuss@conference.soprani.ca")
);
bookmark.setBookmarkName("Soprani.ca / Cheogram Discussion");
bookmark.addChild("group").setContent("support");
this.contacts.add(0, bookmark);
}
mContactsAdapter.notifyDataSetChanged();
}