markdown compiled, plus bug fix

This commit is contained in:
MathMan05 2024-07-24 12:59:35 -05:00
parent 7d767d1914
commit a1e805aa7f
3 changed files with 16 additions and 19 deletions

View file

@ -551,8 +551,8 @@ class Channel {
for (const thing of response) {
const message = new Message(thing, this);
if (prev) {
this.idToNext.set(message.snowflake, prev.id);
this.idToPrev.set(prev.id, message.snowflake);
this.idToNext.set(message.snowflake, prev.snowflake);
this.idToPrev.set(prev.snowflake, message.snowflake);
}
else {
this.lastmessage = message;