fix an issue where global search/contact list - outgoing message request does not show up in the contact list

pull/891/head
Ryan ZHAO 9 months ago
parent 4da21035ca
commit d1483bc1a7

@ -1848,7 +1848,7 @@ public extension SessionThreadViewModel {
\(SQL("\(userPublicKey)")) AS \(ViewModel.Columns.currentUserPublicKey)
FROM \(SessionThread.self)
JOIN \(contactProfile) ON \(contactProfile[.id]) = \(thread[.id])
LEFT JOIN \(contactProfile) ON \(contactProfile[.id]) = \(thread[.id])
WHERE \(SQL("\(thread[.variant]) = \(SessionThread.Variant.contact)"))
"""

Loading…
Cancel
Save