Only show "Note To Self" as Voice Memo author if both sender and receiver are self.
This commit is contained in:
parent
889d1183b2
commit
aa268fc3ba
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ class VoiceNoteMediaItemFactory {
|
|||
sender.getDisplayName(context),
|
||||
threadRecipient.getDisplayName(context));
|
||||
} else if (preference.isDisplayContact()) {
|
||||
return sender.isSelf() ? context.getString(R.string.note_to_self)
|
||||
: sender.getDisplayName(context);
|
||||
return sender.isSelf() && threadRecipient.isSelf() ? context.getString(R.string.note_to_self)
|
||||
: sender.getDisplayName(context);
|
||||
} else {
|
||||
return context.getString(R.string.MessageNotifier_signal_message);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue