mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
query all props on add message subscription
This commit is contained in:
parent
eed89f8c4b
commit
81a08ff04e
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user