mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix restrict user in recent actions
This commit is contained in:
parent
aec220fd2c
commit
0960a3b21d
1 changed files with 2 additions and 1 deletions
|
@ -1572,7 +1572,8 @@ void InnerWidget::suggestRestrictParticipant(
|
|||
if (participant.type() == Type::Creator
|
||||
|| participant.type() == Type::Admin) {
|
||||
editRestrictions(true, {}, nullptr, 0);
|
||||
} else if (const auto since = participant.restrictedSince()) {
|
||||
} else {
|
||||
const auto since = participant.restrictedSince();
|
||||
editRestrictions(
|
||||
false,
|
||||
participant.restrictions(),
|
||||
|
|
Loading…
Add table
Reference in a new issue