From 81a08ff04e32090cbfc14a98f98aca1ec59df007 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 18 Jul 2023 12:47:23 +0200 Subject: [PATCH] query all props on add message subscription --- webapp/graphql/Messages.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webapp/graphql/Messages.js b/webapp/graphql/Messages.js index 9efd35cf1..13d27ac58 100644 --- a/webapp/graphql/Messages.js +++ b/webapp/graphql/Messages.js @@ -38,17 +38,17 @@ export const chatMessageAdded = () => { return gql` subscription chatMessageAdded($userId: ID!) { chatMessageAdded(userId: $userId) { - #_id + _id id - # indexId + indexId content senderId - #author { - # id - #} - #username - #avatar - #date + author { + id + } + username + avatar + date room { id }