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

View File

@ -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) {