2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build for Linux.

This commit is contained in:
John Preston
2020-05-29 22:06:40 +04:00
parent d5b3fa017b
commit b7aa60bedf
4 changed files with 6 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
@@ -533,8 +534,8 @@ void Manager::Private::showNotification(
hideReplyButton);
if (!hideNameAndPhoto) {
const auto key = peer->userpicUniqueKey();
notification->setImage(_cachedUserpics.get(key, peer));
const auto key = peer->userpicUniqueKey(userpicView);
notification->setImage(_cachedUserpics.get(key, peer, userpicView));
}
auto i = _notifications.find(peer->id);