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