Skip to content

Show delete-own-messages action for group admins#380

Open
redactdeveloper wants to merge 1 commit into
AyuGram:devfrom
redactdeveloper:fix-delete-own-messages-for-admins
Open

Show delete-own-messages action for group admins#380
redactdeveloper wants to merge 1 commit into
AyuGram:devfrom
redactdeveloper:fix-delete-own-messages-for-admins

Conversation

@redactdeveloper

Copy link
Copy Markdown

Summary

  • allow the AyuGram "Delete own messages" menu action for group and megagroup admins
  • keep the existing restrictions that the peer must be a group/megagroup and the current user must still be a member

The previous check excluded creators and users with admin rights, which made the action disappear for admins as reported in #359.

Fixes #359.

Verification

  • Ran git diff --check
  • Full AyuGram Desktop build was not run locally because this checkout does not include the full dependency/build environment.

uidjabloko added a commit to uidjabloko/AyuGramDesktop that referenced this pull request Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When admin in a group chat cant self clear messages

1 participant