mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 20:45:17 +00:00
Fixed inverted config dropping flags
This commit is contained in:
parent
6af009c9ee
commit
7c0dbcf1f5
@ -105,8 +105,8 @@ fun MessageReceiver.messageIsOutdated(message: Message, threadId: Long, openGrou
|
||||
)
|
||||
|
||||
// If the thread is visible or the message was sent more recently than the last config message (minus
|
||||
// buffer period) then we should process the message, if not then throw as the message is outdated
|
||||
return (conversationVisibleInConfig || canPerformChange)
|
||||
// buffer period) then we should process the message, if not then the message is outdated
|
||||
return (!conversationVisibleInConfig && !canPerformChange)
|
||||
}
|
||||
|
||||
// region Control Messages
|
||||
|
Loading…
Reference in New Issue
Block a user