From a5348245f651139421386716308eb7b9b6fcfb06 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Wed, 13 May 2020 14:00:38 +0000 Subject: [PATCH] Comment out some usage of ticket team collection for addressing Removed its usage in pseudo-client when publishing a comment, and removed it from inbox forwarding when handling a remote comment. Very possibly, the ticket team collection will be entirely removed. For now leaving it there as-is. Just not using it for addressing in activities. --- src/Vervis/Federation/Discussion.hs | 4 ++-- src/Vervis/Handler/Client.hs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Vervis/Federation/Discussion.hs b/src/Vervis/Federation/Discussion.hs index a1a92a7..28758ee 100644 --- a/src/Vervis/Federation/Discussion.hs +++ b/src/Vervis/Federation/Discussion.hs @@ -284,7 +284,7 @@ sharerCreateNoteF now shrRecip author body note = do makeRecipientSet [] [ LocalPersonCollectionSharerTicketFollowers shrRecip talkhid - , LocalPersonCollectionSharerTicketTeam shrRecip talkhid + --, LocalPersonCollectionSharerTicketTeam shrRecip talkhid ] remoteRecips <- insertRemoteActivityToLocalInboxes False ractid $ localRecipSieve' sieve False False localRecips (sig,) <$> deliverRemoteDB_S (actbBL body) ractid sid sig remoteRecips @@ -426,7 +426,7 @@ projectCreateNoteF now shrRecip prjRecip author body note = do [ LocalPersonCollectionProjectFollowers shrRecip prjRecip , LocalPersonCollectionProjectTeam shrRecip prjRecip , LocalPersonCollectionProjectTicketFollowers shrRecip prjRecip ltkhid - , LocalPersonCollectionProjectTicketTeam shrRecip prjRecip ltkhid + --, LocalPersonCollectionProjectTicketTeam shrRecip prjRecip ltkhid ] remoteRecips <- insertRemoteActivityToLocalInboxes False ractid $ localRecipSieve' sieve False False localRecips (sig,) <$> deliverRemoteDB_J (actbBL body) ractid jid sig remoteRecips diff --git a/src/Vervis/Handler/Client.hs b/src/Vervis/Handler/Client.hs index 410d42a..511351f 100644 --- a/src/Vervis/Handler/Client.hs +++ b/src/Vervis/Handler/Client.hs @@ -334,7 +334,7 @@ postPublishR = do collections = [ ProjectFollowersR shrTicket prj , ProjectTicketParticipantsR shrTicket prj num - , ProjectTicketTeamR shrTicket prj num + --, ProjectTicketTeamR shrTicket prj num ] recips = ProjectR shrTicket prj : collections note = Note