element-x-ada/features/messages/impl
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
..
src fix(wallet): use proper isDm check for wallet button visibility 2026-03-29 06:57:02 -07:00
.gitignore
build.gradle.kts fix(wallet): resolve audit findings - DI typos, missing dependency, event type consistency 2026-03-27 12:11:45 -07:00
consumer-rules.pro