Fixed a bug where the typing indicator wasn't working on the home screen

This commit is contained in:
Morgan Pretty 2022-08-31 12:01:21 +10:00
parent 3aa231360d
commit 1afdfa8bcb

View file

@ -134,7 +134,7 @@ public class HomeViewModel {
joinToPagedType: {
let typingIndicator: TypedTableAlias<ThreadTypingIndicator> = TypedTableAlias()
return SQL("LEFT JOIN \(typingIndicator[.threadId]) = \(thread[.id])")
return SQL("LEFT JOIN \(ThreadTypingIndicator.self) ON \(typingIndicator[.threadId]) = \(thread[.id])")
}()
)
],