mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-21 02:07:02 +00:00
Render proper contact in Delivery Issue notifications
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
@@ -905,7 +905,13 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
||||
}
|
||||
|
||||
getPropsForDeliveryIssue(): DeliveryIssuePropsType {
|
||||
const sender = this.getContact()?.format();
|
||||
const sourceUuid = this.get('sourceUuid');
|
||||
const sender = sourceUuid
|
||||
? window.ConversationController.getOrCreate(
|
||||
sourceUuid,
|
||||
'private'
|
||||
).format()
|
||||
: PLACEHOLDER_CONTACT;
|
||||
|
||||
return {
|
||||
sender,
|
||||
|
||||
Reference in New Issue
Block a user