Implement redactions for guild messages.

Fixes #31
This commit is contained in:
Gary Kramlich
2022-04-18 16:54:07 -05:00
parent 619dd9aef8
commit be1acdde09

View File

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