mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-26 01:49:22 +00:00
This commit is contained in:
2
vendor/github.com/matterbridge/matterclient/messages.go
generated
vendored
2
vendor/github.com/matterbridge/matterclient/messages.go
generated
vendored
@ -217,7 +217,7 @@ func (m *Client) UploadFile(data []byte, channelID string, filename string) (str
|
||||
func (m *Client) parseActionPost(rmsg *Message) {
|
||||
// add post to cache, if it already exists don't relay this again.
|
||||
// this should fix reposts
|
||||
if ok, _ := m.lruCache.ContainsOrAdd(digestString(rmsg.Raw.GetData()["post"].(string)), true); ok {
|
||||
if ok, _ := m.lruCache.ContainsOrAdd(digestString(rmsg.Raw.GetData()["post"].(string)), true); ok && rmsg.Raw.EventType() != model.WebsocketEventPostDeleted {
|
||||
m.logger.Debugf("message %#v in cache, not processing again", rmsg.Raw.GetData()["post"].(string))
|
||||
rmsg.Text = ""
|
||||
|
||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -189,7 +189,7 @@ github.com/matterbridge/gozulipbot
|
||||
# github.com/matterbridge/logrus-prefixed-formatter v0.5.3-0.20200523233437-d971309a77ba
|
||||
## explicit
|
||||
github.com/matterbridge/logrus-prefixed-formatter
|
||||
# github.com/matterbridge/matterclient v0.0.0-20211021135437-2dc2bc7dce2d
|
||||
# github.com/matterbridge/matterclient v0.0.0-20211024214211-22e762684b4a
|
||||
## explicit; go 1.16
|
||||
github.com/matterbridge/matterclient
|
||||
# github.com/mattermost/go-i18n v1.11.0
|
||||
|
Reference in New Issue
Block a user