mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
change (accept invite) : map Unknown error to AcceptInvite.Failures.InvalidInvite
This commit is contained in:
+4
@@ -16,4 +16,8 @@ interface JoinRoom {
|
||||
serverNames: List<String>,
|
||||
trigger: JoinedRoom.Trigger,
|
||||
): Result<Unit>
|
||||
|
||||
sealed class Failures : Exception() {
|
||||
data object UnauthorizedJoin : Failures()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user