fix(announcements): make sure only valid announcements are shown to the user

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2024-01-05 17:51:41 +01:00
parent dcbb8eae01
commit c9a1c35aa7
8 changed files with 95 additions and 4 deletions

View File

@@ -13,6 +13,9 @@ export const COMMENT_FIELDS_FRAGMENT = gql`
actor {
...ActorFragment
}
attributedTo {
...ActorFragment
}
totalReplies
insertedAt
updatedAt

View File

@@ -12,6 +12,9 @@ export const CONVERSATION_QUERY_FRAGMENT = gql`
lastComment {
...CommentFields
}
originComment {
...CommentFields
}
participants {
...ActorFragment
}
@@ -19,6 +22,12 @@ export const CONVERSATION_QUERY_FRAGMENT = gql`
id
uuid
title
organizerActor {
id
}
attributedTo {
id
}
picture {
id
url