Suggestion for room alias.

Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
This commit is contained in:
Benoit Marty
2024-08-21 14:09:29 +02:00
parent 1b1062be24
commit 57d927e9aa
34 changed files with 399 additions and 222 deletions
@@ -100,7 +100,7 @@ class SharePresenter @AssistedInject constructor(
matrixClient.getRoom(roomId)?.sendMessage(
body = text,
htmlBody = null,
mentions = emptyList(),
intentionalMentions = emptyList(),
)?.isSuccess.orFalse()
}
.all { it }