From 47463fa220eff194c7aea425afe928de4624bc16 Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Wed, 20 Apr 2022 05:26:19 -0500 Subject: [PATCH] Fix reactions from double puppets. Fixes #31 --- bridge/portal.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bridge/portal.go b/bridge/portal.go index bcb573b..c7076b6 100644 --- a/bridge/portal.go +++ b/bridge/portal.go @@ -845,10 +845,6 @@ func (p *Portal) handleMatrixReaction(evt *event.Event) { } func (p *Portal) handleDiscordReaction(user *User, reaction *discordgo.MessageReaction, add bool) { - if user.ID == reaction.UserID { - return - } - intent := p.bridge.GetPuppetByID(reaction.UserID).IntentFor(p) var discordID string