diff --git a/Session/Home/HomeViewModel.swift b/Session/Home/HomeViewModel.swift index 3b20abebe..e343e3ea1 100644 --- a/Session/Home/HomeViewModel.swift +++ b/Session/Home/HomeViewModel.swift @@ -134,7 +134,7 @@ public class HomeViewModel { joinToPagedType: { let typingIndicator: TypedTableAlias = TypedTableAlias() - return SQL("LEFT JOIN \(typingIndicator[.threadId]) = \(thread[.id])") + return SQL("LEFT JOIN \(ThreadTypingIndicator.self) ON \(typingIndicator[.threadId]) = \(thread[.id])") }() ) ],