fix outdated client banner for showing current user

pull/731/head
Ryan ZHAO 6 months ago
parent ac30b3c797
commit 787f2835a9

@ -957,6 +957,7 @@ public extension SessionThreadViewModel {
WHERE (
(\(groupMember[.profileId]) = \(contactProfile[.id]) OR
\(contact[.id]) = \(threadId)) AND
\(contact[.id]) <> \(userPublicKey) AND
\(contact[.lastKnownClientVersion]) = \(FeatureVersion.legacyDisappearingMessages)
)
) AS \(ViewModel.Columns.outdatedMemberId),

Loading…
Cancel
Save