mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
Merge pull request #1134 from emily-keller/develop
Message posted to Tavern containing banned words does not disappear
This commit is contained in:
commit
bd0632b624
1 changed files with 4 additions and 4 deletions
|
|
@ -294,11 +294,11 @@ class ChatListFragment : BaseFragment(), SwipeRefreshLayout.OnRefreshListener {
|
|||
|
||||
private fun sendChatMessage(chatText: String) {
|
||||
groupId.notNull {id ->
|
||||
socialRepository.postGroupChat(id, chatText).subscribe(Consumer {
|
||||
socialRepository.postGroupChat(id, chatText).subscribe({
|
||||
recyclerView?.scrollToPosition(0)
|
||||
}, RxErrorHandler.handleEmptyError())
|
||||
}, { throwable ->
|
||||
chatEditText.setText(chatText)
|
||||
RxErrorHandler.reportError(throwable)})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue