When publishing a comment via PublishR, don't specify 'published' time
The server expects not to see it, and wants to set it by itself
This commit is contained in:
parent
0e4070db75
commit
ddb6bb0472
1 changed files with 2 additions and 3 deletions
|
@ -326,8 +326,7 @@ postOutboxR shrAuthor = do
|
|||
encodeRouteLocal <- getEncodeRouteLocal
|
||||
let encodeRecipRoute = l2f hTicket . encodeRouteLocal
|
||||
uTicket = encodeRecipRoute $ TicketR shrTicket prj num
|
||||
now <- liftIO getCurrentTime
|
||||
let (hLocal, luAuthor) = f2l $ encodeRouteFed $ SharerR shrAuthor
|
||||
(hLocal, luAuthor) = f2l $ encodeRouteFed $ SharerR shrAuthor
|
||||
recips =
|
||||
[ ProjectR shrTicket prj
|
||||
, TicketParticipantsR shrTicket prj num
|
||||
|
@ -345,7 +344,7 @@ postOutboxR shrAuthor = do
|
|||
}
|
||||
, noteReplyTo = Just $ fromMaybe uTicket muParent
|
||||
, noteContext = Just uTicket
|
||||
, notePublished = Just now
|
||||
, notePublished = Nothing
|
||||
, noteContent = msg
|
||||
}
|
||||
ExceptT $ handleOutboxNote hLocal note
|
||||
|
|
Loading…
Reference in a new issue