1
0
Fork 0
mirror of https://github.com/diamondburned/cchat-discord.git synced 2024-12-31 08:07:09 +00:00

Fixed backlog messages missing member

This commit is contained in:
diamondburned 2020-08-19 18:40:12 -07:00
parent b9d06fade5
commit 0b17709222

View file

@ -308,6 +308,9 @@ func (ch *Channel) MessagesBefore(ctx context.Context, b cchat.ID, c cchat.Messa
}
for _, m := range m {
// Discord sucks.
m.GuildID = ch.guildID
c.PrependMessage(NewBacklogMessage(m, ch.session, *g))
}