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.
This commit is contained in:
fr33domlover 2020-05-13 14:00:38 +00:00
parent a548dc8c5b
commit a5348245f6
2 changed files with 3 additions and 3 deletions

View file

@ -284,7 +284,7 @@ sharerCreateNoteF now shrRecip author body note = do
makeRecipientSet makeRecipientSet
[] []
[ LocalPersonCollectionSharerTicketFollowers shrRecip talkhid [ LocalPersonCollectionSharerTicketFollowers shrRecip talkhid
, LocalPersonCollectionSharerTicketTeam shrRecip talkhid --, LocalPersonCollectionSharerTicketTeam shrRecip talkhid
] ]
remoteRecips <- insertRemoteActivityToLocalInboxes False ractid $ localRecipSieve' sieve False False localRecips remoteRecips <- insertRemoteActivityToLocalInboxes False ractid $ localRecipSieve' sieve False False localRecips
(sig,) <$> deliverRemoteDB_S (actbBL body) ractid sid sig remoteRecips (sig,) <$> deliverRemoteDB_S (actbBL body) ractid sid sig remoteRecips
@ -426,7 +426,7 @@ projectCreateNoteF now shrRecip prjRecip author body note = do
[ LocalPersonCollectionProjectFollowers shrRecip prjRecip [ LocalPersonCollectionProjectFollowers shrRecip prjRecip
, LocalPersonCollectionProjectTeam shrRecip prjRecip , LocalPersonCollectionProjectTeam shrRecip prjRecip
, LocalPersonCollectionProjectTicketFollowers shrRecip prjRecip ltkhid , LocalPersonCollectionProjectTicketFollowers shrRecip prjRecip ltkhid
, LocalPersonCollectionProjectTicketTeam shrRecip prjRecip ltkhid --, LocalPersonCollectionProjectTicketTeam shrRecip prjRecip ltkhid
] ]
remoteRecips <- insertRemoteActivityToLocalInboxes False ractid $ localRecipSieve' sieve False False localRecips remoteRecips <- insertRemoteActivityToLocalInboxes False ractid $ localRecipSieve' sieve False False localRecips
(sig,) <$> deliverRemoteDB_J (actbBL body) ractid jid sig remoteRecips (sig,) <$> deliverRemoteDB_J (actbBL body) ractid jid sig remoteRecips

View file

@ -334,7 +334,7 @@ postPublishR = do
collections = collections =
[ ProjectFollowersR shrTicket prj [ ProjectFollowersR shrTicket prj
, ProjectTicketParticipantsR shrTicket prj num , ProjectTicketParticipantsR shrTicket prj num
, ProjectTicketTeamR shrTicket prj num --, ProjectTicketTeamR shrTicket prj num
] ]
recips = ProjectR shrTicket prj : collections recips = ProjectR shrTicket prj : collections
note = Note note = Note