remove the delay at thread refreshing after sending a message

This commit is contained in:
tibbi 2022-03-25 20:50:39 +01:00
parent d0bbd05913
commit 57a417f42b
1 changed files with 3 additions and 5 deletions

View File

@ -810,11 +810,9 @@ class ThreadActivity : SimpleActivity() {
thread_attachments_holder.beGone()
thread_attachments_wrapper.removeAllViews()
Handler().postDelayed({
if (!refreshedSinceSent) {
refreshMessages()
}
}, 2000)
if (!refreshedSinceSent) {
refreshMessages()
}
} catch (e: Exception) {
showErrorToast(e)
} catch (e: Error) {