(author identity.Interface, unixTime int64, message string, files []repository.Hash)
| 67 | } |
| 68 | |
| 69 | func NewAddCommentOp(author identity.Interface, unixTime int64, message string, files []repository.Hash) *AddCommentOperation { |
| 70 | return &AddCommentOperation{ |
| 71 | OpBase: dag.NewOpBase(AddCommentOp, author, unixTime), |
| 72 | Message: message, |
| 73 | Files: files, |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | // AddCommentTimelineItem replace a AddComment operation in the Timeline and hold its edition history |
| 78 | type AddCommentTimelineItem struct { |