Fix avatars in in-app notifications

This commit is contained in:
Ali
2019-12-07 01:10:32 +04:00
parent a5a87436dd
commit 11e97b08db

View File

@@ -142,6 +142,8 @@ final class ChatMessageNotificationItemNode: NotificationItemNode {
} else {
isScheduled = true
}
} else {
self.avatarNode.setPeer(account: item.context.account, theme: presentationData.theme, peer: peer, overrideImage: peer.id == item.context.account.peerId ? .savedMessagesIcon : nil, emptyColor: presentationData.theme.list.mediaPlaceholderColor)
}
}