Эх сурвалжийг харах

Implement redactions for guild messages.

Fixes #31
Gary Kramlich 3 жил өмнө
parent
commit
be1acdde09
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      bridge/portal.go

+ 1 - 1
bridge/portal.go

@@ -514,7 +514,7 @@ func (p *Portal) handleDiscordMessageDelete(user *User, msg *discordgo.Message)
 	if p.Type == discordgo.ChannelTypeDM {
 		intent = p.bridge.GetPuppetByID(p.DMUser).IntentFor(p)
 	} else {
-		p.log.Errorfln("no guilds yet...")
+		intent = p.MainIntent()
 	}
 
 	if existing != nil {