mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Use person's name in call update text.
This commit is contained in:
parent
39b27a9d7a
commit
0ced767ef2
@ -97,7 +97,7 @@ public abstract class MessageRecord extends DisplayRecord {
|
|||||||
} else if (isGroupQuit()) {
|
} else if (isGroupQuit()) {
|
||||||
return new SpannableString(context.getString(R.string.ConversationItem_group_action_left, getIndividualRecipient().toShortString()));
|
return new SpannableString(context.getString(R.string.ConversationItem_group_action_left, getIndividualRecipient().toShortString()));
|
||||||
} else if (isIncomingCall()) {
|
} else if (isIncomingCall()) {
|
||||||
return new SpannableString(context.getString(R.string.MessageRecord_called_you));
|
return new SpannableString(context.getString(R.string.MessageRecord_s_called_you, getIndividualRecipient().toShortString()));
|
||||||
} else if (isOutgoingCall()) {
|
} else if (isOutgoingCall()) {
|
||||||
return new SpannableString(context.getString(R.string.MessageRecord_you_called));
|
return new SpannableString(context.getString(R.string.MessageRecord_you_called));
|
||||||
} else if (isMissedCall()) {
|
} else if (isMissedCall()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user