mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 05:29:23 +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
|
peer
|
||||||
) | rpl::map([=](bool can) {
|
) | rpl::map([=](bool can) {
|
||||||
using namespace HistoryView::Controls;
|
using namespace HistoryView::Controls;
|
||||||
return user->session().frozen()
|
return peer->session().frozen()
|
||||||
? WriteRestriction{ .type = WriteRestrictionType::Frozen }
|
? WriteRestriction{ .type = WriteRestrictionType::Frozen }
|
||||||
: (can
|
: (can
|
||||||
|| !user
|
|| !user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user