@@ -525,7 +525,7 @@ func (s *hooksRPCServer) FileWillBeUploaded(args *Z_FileWillBeUploadedArgs, retu
|
|||||||
return nil
|
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
|
// The special behaviour needed is decoding the returned post into the original one to avoid the unintentional removal
|
||||||
// of fields by older plugins.
|
// of fields by older plugins.
|
||||||
func init() {
|
func init() {
|
||||||
@@ -565,8 +565,8 @@ func (s *hooksRPCServer) MessageWillBePosted(args *Z_MessageWillBePostedArgs, re
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// MessageWillBeUpdated is in this file because of the difficulty of identifiying which fields need special behaviour.
|
// MessageWillBeUpdated is in this file because of the difficulty of identifying which fields need special behaviour.
|
||||||
// The special behavour needed is decoding the returned post into the original one to avoid the unintentional removal
|
// The special behaviour needed is decoding the returned post into the original one to avoid the unintentional removal
|
||||||
// of fields by older plugins.
|
// of fields by older plugins.
|
||||||
func init() {
|
func init() {
|
||||||
hookNameToId["MessageWillBeUpdated"] = MessageWillBeUpdatedId
|
hookNameToId["MessageWillBeUpdated"] = MessageWillBeUpdatedId
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user