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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user