mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-04 10:19:15 +02:00
mark bots in chat title and profile as such
This commit is contained in:
parent
2c5bbcf75e
commit
50e66c7e66
5 changed files with 15 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue