mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
sdk bump
This commit is contained in:
@@ -563,7 +563,7 @@ class RoomProxy: RoomProxyProtocol {
|
||||
func rejectInvitation() async -> Result<Void, RoomProxyError> {
|
||||
await Task.dispatch(on: .global()) {
|
||||
do {
|
||||
return try .success(self.room.rejectInvitation())
|
||||
return try .success(self.room.leave())
|
||||
} catch {
|
||||
return .failure(.failedRejectingInvite)
|
||||
}
|
||||
@@ -573,7 +573,7 @@ class RoomProxy: RoomProxyProtocol {
|
||||
func acceptInvitation() async -> Result<Void, RoomProxyError> {
|
||||
await Task.dispatch(on: .global()) {
|
||||
do {
|
||||
try self.room.acceptInvitation()
|
||||
try self.room.join()
|
||||
return .success(())
|
||||
} catch {
|
||||
return .failure(.failedAcceptingInvite)
|
||||
|
||||
Reference in New Issue
Block a user