mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Fix crash in group/channel stories.
This commit is contained in:
parent
f8920e5fef
commit
74afeeb85f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue