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:
parent
b9d06fade5
commit
0b17709222
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue