adding in content listeners

This commit is contained in:
talksik
2022-05-29 12:26:10 -05:00
parent ab86475c0a
commit 3bfe288525
2 changed files with 57 additions and 4 deletions
@@ -144,6 +144,10 @@ export const getUserById = async (userId: string): Promise<User | undefined> =>
export const getConversationsQueryLIVE = (userId: string) =>
query(db.conversations, where(`members.${userId}.isActive`, '==', true));
// get content blocks for particular conversation
export const getConversationContentQueryLIVE = (conversationId: string) =>
query(db.conversationContent(conversationId));
/**
*
* @param otherUserId