Skip to content

Commit

Permalink
Fix restrict user in recent actions
Browse files Browse the repository at this point in the history
  • Loading branch information
c0re100 authored and 23rd committed Sep 19, 2024
1 parent aec220f commit 0960a3b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 0960a3b

Please sign in to comment.