mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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
|
if (participant.type() == Type::Creator
|
||||||
|| participant.type() == Type::Admin) {
|
|| participant.type() == Type::Admin) {
|
||||||
editRestrictions(true, {}, nullptr, 0);
|
editRestrictions(true, {}, nullptr, 0);
|
||||||
} else if (const auto since = participant.restrictedSince()) {
|
} else {
|
||||||
|
const auto since = participant.restrictedSince();
|
||||||
editRestrictions(
|
editRestrictions(
|
||||||
false,
|
false,
|
||||||
participant.restrictions(),
|
participant.restrictions(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue