Skip to content

fix: prevent all invites from disappearing on deletion#1249

Open
Asraye wants to merge 1 commit into
stoatchat:mainfrom
Asraye:fix/invite-deletion
Open

fix: prevent all invites from disappearing on deletion#1249
Asraye wants to merge 1 commit into
stoatchat:mainfrom
Asraye:fix/invite-deletion

Conversation

@Asraye

@Asraye Asraye commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Fixes an error in deleteInvite where entry.id was compared against itself, resulting in an empty array after deleting any invite.

Fixes #763

How was this PR tested?

Tested locally via deleting an invite in a server.

Screenshots & Screencasts (if appropriate)

Checklist:

  • I have carefully read the contributing guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR
  • I have confirmed that any new dependencies are strictly necessary
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code

Please declare, if any, LLM usage involved in creating this PR

None
...

Fixes an error in deleteInvite where entry.id was compared against itself, resulting in an empty array after deleting any invite.

Signed-off-by: Asraye <asrayeofficial@gmail.com>
@Asraye Asraye requested review from a team as code owners June 2, 2026 15:37

@Dadadah Dadadah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. We'll get this merged after 0.8.0 releases.

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.

Deleting invite causes the invites list to disappear

2 participants