How to ignore relay on pin and unpin actions, it's ok to lose edit messages #1653
Unanswered
Lauren-Zhang
asked this question in
Help / Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Found discussion here #388 and for my use case I want to ignore the pin and unpin relays between irc and mattermost.
I tried to filter on event/is_pinned but it looks like the info was not set properly:
log:
<= Message is &config.Message{Text:"hello again", Channel:"matter-bridge-test", Username:"my_user_name", UserID:"some_id", Avatar:"", Account:"mattermost.bridge", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ID:"some_id", Extra:map[string][]interface {}{}}
=> Receiving config.Message{Text:"hello again", Channel:"#matterbridge-test2", Username:"[mattermost] ", UserID:"some_id", Avatar:"", Account:"mattermost.bridge", Event:"", Protocol:"mattermost", Gateway:"my-gateway", ParentID:"", Timestamp:time.Date(2021, time.December, 9, 0, 24, 13, 522937180, time.Local), ID:"", Extra:map[string][]interface {}{}}
Beta Was this translation helpful? Give feedback.
All reactions