mirror of
https://github.com/diamondburned/cchat-discord.git
synced 2025-01-03 09:37:31 +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 {
|
for _, m := range m {
|
||||||
|
// Discord sucks.
|
||||||
|
m.GuildID = ch.guildID
|
||||||
|
|
||||||
c.PrependMessage(NewBacklogMessage(m, ch.session, *g))
|
c.PrependMessage(NewBacklogMessage(m, ch.session, *g))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue