Commit 82e19204 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove Toast when some exception occurs when sending message.

parent 48d817fa
......@@ -143,11 +143,6 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
view.enableSendMessageButton()
} catch (ex: Exception) {
Timber.d(ex, "Error sending message...")
ex.message?.let {
view.showMessage(it)
}.ifNull {
view.showGenericErrorMessage()
}
jobSchedulerInteractor.scheduleSendingMessages()
} finally {
view.enableSendMessageButton()
......
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