mark bots in chat title and profile as such

This commit is contained in:
B. Petersen 2024-08-09 16:47:07 +02:00 committed by bjoern
parent 2c5bbcf75e
commit 50e66c7e66
5 changed files with 15 additions and 2 deletions

View file

@ -368,7 +368,11 @@ public class ProfileActivity extends PassphraseRequiredActionBarActivity
if (chatIsDeviceTalk) {
return getString(R.string.profile);
} else if(isContactProfile()) {
return getString(R.string.tab_contact);
if (dcContext.getContact(contactId).isBot()) {
return getString(R.string.bot);
} else {
return getString(R.string.tab_contact);
}
}
else if (chatIsBroadcast) {
return getString(R.string.broadcast_list);