mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -490,7 +490,7 @@ PreparedShortInfoUserpic PrepareShortInfoFallbackUserpic(
|
||||
1,
|
||||
1,
|
||||
1))
|
||||
: rpl::never<UserPhotosSlice>();
|
||||
: (rpl::never<UserPhotosSlice>() | rpl::type_erased());
|
||||
auto process = [=](not_null<UserpicState*> state) {
|
||||
if (photoId) {
|
||||
ProcessFullPhoto(peer, state, peer->owner().photo(*photoId));
|
||||
|
@@ -30,7 +30,7 @@ namespace Ui {
|
||||
class ScrollArea;
|
||||
class PlainShadow;
|
||||
class FlatButton;
|
||||
class PreparedList;
|
||||
struct PreparedList;
|
||||
class SendFilesWay;
|
||||
} // namespace Ui
|
||||
|
||||
|
@@ -618,7 +618,6 @@ void UserpicButton::processPeerPhoto() {
|
||||
if (_showPeerUserpic) {
|
||||
_peer->loadUserpic();
|
||||
} else if (_nonPersonalView) {
|
||||
AssertIsDebug();
|
||||
showNonPersonal->load(Data::FileOriginFullUser{
|
||||
peerToUser(user->id),
|
||||
});
|
||||
|
Reference in New Issue
Block a user