فهرست منبع

Implement redactions for guild messages.

Fixes #31
Gary Kramlich 3 سال پیش
والد
کامیت
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 {