2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-07 13:26:47 +00:00

Simplify Image, remove ImageSource.

This commit is contained in:
John Preston
2020-05-29 19:10:25 +04:00
parent d0c78eaddd
commit 36fbdfb380
49 changed files with 306 additions and 512 deletions

View File

@@ -482,7 +482,7 @@ bool Manager::Private::showNotification(
const auto key = hideNameAndPhoto
? InMemoryKey()
: peer->userpicUniqueKey(view);
const auto userpicPath = _cachedUserpics.get(key, peer);
const auto userpicPath = _cachedUserpics.get(key, peer, view);
const auto userpicPathWide = QDir::toNativeSeparators(userpicPath).toStdWString();
hr = SetImageSrc(userpicPathWide.c_str(), toastXml.Get());