This commit is contained in:
parent
c53942ac53
commit
d09b763aa7
24 changed files with 941 additions and 17 deletions
|
@ -30,7 +30,7 @@ func New() *SearchReplacePlugin {
|
|||
}
|
||||
|
||||
// OnMessage handles incoming messages
|
||||
func (p *SearchReplacePlugin) OnMessage(msg *model.Message, config map[string]interface{}) []*model.MessageAction {
|
||||
func (p *SearchReplacePlugin) OnMessage(msg *model.Message, config map[string]interface{}, cache model.CacheInterface) []*model.MessageAction {
|
||||
// Only process replies to messages
|
||||
if msg.ReplyTo == "" {
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue