Skip to content

Kicking self from space results in broken UI interactions #19066

@kittykat

Description

@kittykat

Steps to reproduce

  1. View space members as an Admin of the space
  2. Open your own member info in the right panel
  3. "Kick" at the bottom of the member info under "Admin"

First time I kicked myself from "Happy space!" I got taken to this page:
Screenshot from 2021-09-16 07-47-40

I didn't actually get removed from the space after the first kick

  1. Refresh, then go back to the member view and "Kick" again
    Screenshot from 2021-09-16 07-49-19

This time I was kicked from the space, but right panel didn't update to reflect this and I was still left looking at a room in the space.

What happened?

If I kick myself from a space, I expect to leave the space first time and get taken to the Home view or Join space view.

Operating system

No response

Browser information

No response

URL for webapp

develop.element.io

Homeserver

No response

Have you submitted a rageshake?

No

Metadata

Metadata

Assignees

Labels

A-SpacesSpaces, groups, communitiesO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions