mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-28 10:46:15 +00:00
Add isControlMessage convenience variable
This commit is contained in:
@@ -127,4 +127,8 @@ public abstract class DisplayRecord {
|
||||
public boolean isMissedCall() {
|
||||
return SmsDatabase.Types.isMissedCall(type);
|
||||
}
|
||||
|
||||
public boolean isControlMessage() {
|
||||
return isGroupUpdateMessage() || isExpirationTimerUpdate() || isDataExtractionNotification();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user