summaryrefslogtreecommitdiffstats
path: root/gateway/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/router.go')
-rw-r--r--gateway/router.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/router.go b/gateway/router.go
index b07e5781..468f02c8 100644
--- a/gateway/router.go
+++ b/gateway/router.go
@@ -160,7 +160,7 @@ func (r *Router) handleReceive() {
// For some bridges we always add/update the message ID.
// This is necessary as msgIDs will change if a bridge returns
// a different ID in response to edits.
- if !exists || msg.Protocol == "discord" {
+ if !exists {
gw.Messages.Add(msg.Protocol+" "+msg.ID, msgIDs)
}
}