mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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`
|
return gql`
|
||||||
subscription chatMessageAdded($userId: ID!) {
|
subscription chatMessageAdded($userId: ID!) {
|
||||||
chatMessageAdded(userId: $userId) {
|
chatMessageAdded(userId: $userId) {
|
||||||
#_id
|
_id
|
||||||
id
|
id
|
||||||
# indexId
|
indexId
|
||||||
content
|
content
|
||||||
senderId
|
senderId
|
||||||
#author {
|
author {
|
||||||
# id
|
id
|
||||||
#}
|
}
|
||||||
#username
|
username
|
||||||
#avatar
|
avatar
|
||||||
#date
|
date
|
||||||
room {
|
room {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user