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