@@ -101,7 +101,7 @@ class MembersPresenter @Inject constructor(
101101 else
102102 retryIO(description = " addOwner($roomId , $roomType , $userId )" ) { client.addOwner(roomId, roomType, userId) }
103103 offset = 0
104- this @MembersPresenter.loadChatRoomsMembers (roomId)
104+ navigator.toMembersList (roomId)
105105 } catch (ex: RocketChatException ) {
106106 view.showMessage(ex.message!! ) // TODO Remove.
107107 Timber .e(ex) // FIXME: Right now we are only catching the exception with Timber.
@@ -116,7 +116,7 @@ class MembersPresenter @Inject constructor(
116116 retryIO(description = " removeLeader($roomId , $roomType , $userId )" ) { client.removeLeader(roomId, roomType, userId) }
117117 else
118118 retryIO(description = " addLeader($roomId , $roomType , $userId )" ) { client.addLeader(roomId, roomType, userId) }
119- // this@MembersPresenter.loadChatRoomsMembers (roomId)
119+ navigator.toMembersList (roomId)
120120 } catch (ex: RocketChatException ) {
121121 view.showMessage(ex.message!! ) // TODO Remove.
122122 Timber .e(ex) // FIXME: Right now we are only catching the exception with Timber.
@@ -131,7 +131,7 @@ class MembersPresenter @Inject constructor(
131131 retryIO(description = " removeModerator($roomId , $roomType , $userId )" ) { client.removeModerator(roomId, roomType, userId) }
132132 else
133133 retryIO(description = " addModerator($roomId , $roomType , $userId )" ) { client.addModerator(roomId, roomType, userId) }
134- // this@MembersPresenter.loadChatRoomsMembers (roomId)
134+ navigator.toMembersList (roomId)
135135 } catch (ex: RocketChatException ) {
136136 view.showMessage(ex.message!! ) // TODO Remove.
137137 Timber .e(ex) // FIXME: Right now we are only catching the exception with Timber.
0 commit comments