mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 17:27:42 +00:00
Fix Message#isValid
This commit is contained in:
@@ -43,8 +43,8 @@ abstract class Message {
|
||||
}
|
||||
|
||||
open fun isValid(): Boolean =
|
||||
sentTimestamp?.let { it > 0 } == true
|
||||
&& receivedTimestamp?.let { it > 0 } == true
|
||||
sentTimestamp?.let { it > 0 } != false
|
||||
&& receivedTimestamp?.let { it > 0 } != false
|
||||
&& sender != null
|
||||
&& recipient != null
|
||||
|
||||
|
Reference in New Issue
Block a user