Explorar o código

Fix reactions from double puppets.

Fixes #31
Gary Kramlich %!s(int64=3) %!d(string=hai) anos
pai
achega
47463fa220
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      bridge/portal.go

+ 0 - 4
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