Skip to content

Bulk invite button can go negative if receiving and accepting invites after the dialog was opened #19466

Closed
matrix-org/matrix-react-sdk
#7122
@turt2live

Description

@turt2live

Steps to reproduce

  1. Receive 2 invites
  2. Open the Security & Privacy tab of settings but don't click the buttons to accept the invites. Note the button says 2 invites.
  3. Receive a third invite. Note that the button doesn't change its number.
  4. Click accept all 2 invites
  5. Wait for it to accept all 3 invites
  6. Button now should say -1 invites are pending.

Outcome

What did you expect?

For the button to disappear and not come back with -1.

What happened instead?

image

Operating system

Windows 10

Browser information

Chrome

URL for webapp

internal - app.element.io equiv

Homeserver

internal

Will you send logs?

No

Metadata

Metadata

Labels

A-InviteA-User-SettingsO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defectgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions