Automatic Merge
Этот коммит содержится в:
kanozec
2019-11-15 20:13:38 +08:00
коммит произвёл mattermod
родитель 6b0a88debf
Коммит 1e2609651b

Просмотреть файл

@@ -525,7 +525,7 @@ func (s *hooksRPCServer) FileWillBeUploaded(args *Z_FileWillBeUploadedArgs, retu
return nil
}
// MessageWillBePosted is in this file because of the difficulty of identifiying which fields need special behaviour.
// MessageWillBePosted is in this file because of the difficulty of identifying which fields need special behaviour.
// The special behaviour needed is decoding the returned post into the original one to avoid the unintentional removal
// of fields by older plugins.
func init() {
@@ -565,8 +565,8 @@ func (s *hooksRPCServer) MessageWillBePosted(args *Z_MessageWillBePostedArgs, re
return nil
}
// MessageWillBeUpdated is in this file because of the difficulty of identifiying which fields need special behaviour.
// The special behavour needed is decoding the returned post into the original one to avoid the unintentional removal
// MessageWillBeUpdated is in this file because of the difficulty of identifying which fields need special behaviour.
// The special behaviour needed is decoding the returned post into the original one to avoid the unintentional removal
// of fields by older plugins.
func init() {
hookNameToId["MessageWillBeUpdated"] = MessageWillBeUpdatedId