mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-22 02:07:24 +00:00
Fix crash in group/channel stories.
This commit is contained in:
parent
f8920e5fef
commit
74afeeb85f
@ -841,7 +841,7 @@ void ReplyArea::show(
|
||||
peer
|
||||
) | rpl::map([=](bool can) {
|
||||
using namespace HistoryView::Controls;
|
||||
return user->session().frozen()
|
||||
return peer->session().frozen()
|
||||
? WriteRestriction{ .type = WriteRestrictionType::Frozen }
|
||||
: (can
|
||||
|| !user
|
||||
|
Loading…
x
Reference in New Issue
Block a user