mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
Fix notification display name
This commit is contained in:
parent
61976ac363
commit
d0225bdffb
@ -129,8 +129,10 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
|
||||
} else {
|
||||
displayName = DatabaseFactory.getLokiUserDatabase(context).getDisplayName(hexEncodedPublicKey);
|
||||
}
|
||||
if (displayName != null) {
|
||||
stringBuilder.append(Util.getBoldedString(displayName + ": "));
|
||||
}
|
||||
}
|
||||
|
||||
if (privacy.isDisplayMessage()) {
|
||||
setContentText(stringBuilder.append(message));
|
||||
|
Loading…
Reference in New Issue
Block a user