Always refresh thread to reflect sending failure

This commit is contained in:
Naveen 2023-02-28 14:02:53 +05:30
parent 49597a8db3
commit a27790ee7c
1 changed files with 1 additions and 3 deletions

View File

@ -42,10 +42,8 @@ class MmsSentReceiver : SendStatusReceiver() {
} }
override fun updateAppDatabase(context: Context, intent: Intent, receiverResultCode: Int) { override fun updateAppDatabase(context: Context, intent: Intent, receiverResultCode: Int) {
if (resultCode == Activity.RESULT_OK) {
refreshMessages() refreshMessages()
} }
}
companion object { companion object {
private const val EXTRA_CONTENT_URI = "content_uri" private const val EXTRA_CONTENT_URI = "content_uri"