@@ -96,7 +96,7 @@ class MembersPresenter @Inject constructor(
9696 else
9797 retryIO(description = " addOwner($roomId , $roomType , $userId )" ) { client.addOwner(roomId, roomType, userId) }
9898 offset = 0
99- this @MembersPresenter.loadChatRoomsMembers (roomId)
99+ navigator.toMembersList (roomId)
100100 } catch (ex: RocketChatException ) {
101101 view.showMessage(ex.message!! ) // TODO Remove.
102102 Timber .e(ex) // FIXME: Right now we are only catching the exception with Timber.
@@ -111,7 +111,7 @@ class MembersPresenter @Inject constructor(
111111 retryIO(description = " removeLeader($roomId , $roomType , $userId )" ) { client.removeLeader(roomId, roomType, userId) }
112112 else
113113 retryIO(description = " addLeader($roomId , $roomType , $userId )" ) { client.addLeader(roomId, roomType, userId) }
114- // this@MembersPresenter.loadChatRoomsMembers (roomId)
114+ navigator.toMembersList (roomId)
115115 } catch (ex: RocketChatException ) {
116116 view.showMessage(ex.message!! ) // TODO Remove.
117117 Timber .e(ex) // FIXME: Right now we are only catching the exception with Timber.
@@ -126,7 +126,7 @@ class MembersPresenter @Inject constructor(
126126 retryIO(description = " removeModerator($roomId , $roomType , $userId )" ) { client.removeModerator(roomId, roomType, userId) }
127127 else
128128 retryIO(description = " addModerator($roomId , $roomType , $userId )" ) { client.addModerator(roomId, roomType, userId) }
129- // this@MembersPresenter.loadChatRoomsMembers (roomId)
129+ navigator.toMembersList (roomId)
130130 } catch (ex: RocketChatException ) {
131131 view.showMessage(ex.message!! ) // TODO Remove.
132132 Timber .e(ex) // FIXME: Right now we are only catching the exception with Timber.
0 commit comments