Add support to MessageDetailsActivity for viewed reciepts.

This commit is contained in:
Alex Hart
2021-06-21 14:11:36 -03:00
committed by GitHub
parent 81e3252128
commit 97b3d36433
7 changed files with 23 additions and 6 deletions

View File

@@ -206,6 +206,10 @@ public abstract class DisplayRecord {
deliveryStatus < SmsDatabase.Status.STATUS_PENDING) || deliveryReceiptCount > 0;
}
public boolean isRemoteViewed() {
return viewReceiptCount > 0;
}
public boolean isRemoteRead() {
return readReceiptCount > 0;
}