element-x-ada/features/messages/impl/src
Kayos faa6f768f6 fix(wallet): use proper isDm check for wallet button visibility
The wallet button should only appear in genuine DM rooms. The previous
logic (isDm || activeMembersCount == 2L) was overly broad as it would
show the wallet in any 2-person room, including private rooms that
are not direct messages.

Now uses only roomInfo.isDm which properly checks:
- isDirect flag is true (Matrix spec DM indicator)
- activeMembersCount <= 2 (at most 2 active members)

This ensures the wallet button only appears in real 1:1 DM rooms.
2026-03-29 06:57:02 -07:00
..
main fix(wallet): use proper isDm check for wallet button visibility 2026-03-29 06:57:02 -07:00
test/kotlin/io/element/android/features/messages/impl Merge pull request #6342 from element-hq/feature/fga/live_location_sharing_setup 2026-03-24 15:46:45 +01:00