remove the delay at thread refreshing after sending a message
This commit is contained in:
parent
d0bbd05913
commit
57a417f42b
1 changed files with 3 additions and 5 deletions
|
|
@ -810,11 +810,9 @@ class ThreadActivity : SimpleActivity() {
|
||||||
thread_attachments_holder.beGone()
|
thread_attachments_holder.beGone()
|
||||||
thread_attachments_wrapper.removeAllViews()
|
thread_attachments_wrapper.removeAllViews()
|
||||||
|
|
||||||
Handler().postDelayed({
|
if (!refreshedSinceSent) {
|
||||||
if (!refreshedSinceSent) {
|
refreshMessages()
|
||||||
refreshMessages()
|
}
|
||||||
}
|
|
||||||
}, 2000)
|
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
showErrorToast(e)
|
showErrorToast(e)
|
||||||
} catch (e: Error) {
|
} catch (e: Error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue