Treat DM rooms with bridge bots as People
using MSC4171 service member functionality
#4034
Labels
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
Your use case
What would you like to do?
Have DM rooms (2 users + a bridge bot) show up in the
People
filter just like they do in other Matrix clientsusing MSC4171
Why would you like to do it?
Because bridged users are people too. It provides a consistent (and more importantly) intuitive experience
How would you like to achieve it?
Adjust the
isDm()
check here:element-x-android/libraries/matrix/api/src/main/kotlin/io/element/android/libraries/matrix/api/room/RoomIsDmCheck.kt
Line 18 in b2a9ebb
to use the recently implemented
service_members
functionality in Rust SDK added in matrix-org/matrix-rust-sdk#4335. Whilst matrix-org/matrix-rust-sdk#4335 fixes the room name for bridged rooms, it doesn't expose the required information through the SDK FFI layer for the app to know which users in a room are service members.I'm asking here if this seems like a reasonable thing to do given how Element wants to frame DM chats, and whether approach is considered acceptable. I'm happy to attempt some of the implementation for this
Have you considered any alternatives?
I have a hacky patch that achieves roughly the same thing, but it's awful and not a good way to solve this frebib@e5a5acc
Additional context
No response
Are you willing to provide a PR?
Yes
The text was updated successfully, but these errors were encountered: