fixed message deleting bug
This commit is contained in:
parent
4b0bf6bb59
commit
aaab591bee
4 changed files with 47 additions and 14 deletions
|
@ -174,6 +174,7 @@ class Channel extends SnowFlake{
|
|||
}
|
||||
}else{
|
||||
if(this.idToNext.has(id)){
|
||||
if(!this.messages.has(this.idToNext.get(id))){console.error("how did we get here?")}
|
||||
return this.idToNext.get(id);
|
||||
}else if(this.lastmessage?.id!==id){
|
||||
await this.grabAfter(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue