Commit Graph

8 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
bb47ff8f49 Unify the way we decide whether a room is a DM or a group room (#3100)
* Add centralised 'room is DM' check

Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.

* Use the centralised method and extension functions through the app, including:

- Room list.
- Room details screen.
- Invites.
- Notifications.

Replace most `isDirect` usages with `isDm`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-10 16:28:46 +00:00
Benoit Marty
87689d787e Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
32f31855b5 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
ganfra
807bd362fe Invite : remove invitelist entry points 2024-04-16 11:41:55 +02:00
ganfra
f7d74070ea Fix malformed room id in StateProvider.. 2024-04-12 16:45:40 +02:00
ganfra
79c6385edb Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00
ganfra
9ff0e8eccb Room navigation : reuse accept/decline presentation logic 2024-04-09 14:16:17 +02:00
ganfra
28361be6e8 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02:00