Commit de501c7c authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove coroutine explicit cancellation

parent 5da0491d
......@@ -150,7 +150,6 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
fun deleteMessage(roomId: String, id: String) {
launchUI(strategy) {
if (!getPermissionsInteractor.isMessageDeletingAllowed()) {
coroutineContext.cancel()
return@launchUI
}
//TODO: Default delete message always to true. Until we have the permissions system
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment