element-hq / element-hq/element-android

Room invite to room and space fails if user is in space but not in room

Open
#6,165 1 comment 0 reactions 0 assignees View on GitHub
A-Invite O-Uncommon S-Minor T-Defect Z-WTF
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. User A creates a room in a space where User B is also present.
2. In the room, User A goes top right menu > Invite > Invite to space > invite User B

### Outcome

#### What did you expect?

User B gets successfully invited to the room but perhaps a toast that also informs that User B is already in the space can be shown.

#### What happened instead?

https://user-images.githubusercontent.com/20701752/170486595-11300c9d-f66b-440a-a1e2-f3df3b11dada.mp4

Error dialog saying "User B is already in the room"

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.