Fix reactions from double puppets.

Fixes #31
This commit is contained in:
Gary Kramlich
2022-04-20 05:26:19 -05:00
parent 7b936700ee
commit 47463fa220

View File

@@ -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