2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix build for macOS.

This commit is contained in:
John Preston
2020-05-29 20:55:01 +04:00
parent 36fbdfb380
commit d5b3fa017b
10 changed files with 61 additions and 37 deletions

View File

@@ -587,8 +587,11 @@ void NativeManager::doShowNotification(
: item->notificationText())
: tr::lng_forward_messages(tr::now, lt_count, forwardedCount));
// #TODO optimize
auto userpicView = item->history()->peer->createUserpicView();
doShowNativeNotification(
item->history()->peer,
userpicView,
item->id,
scheduled ? WrapFromScheduled(title) : title,
subtitle,