fixed bug

This commit is contained in:
MathMan05 2024-08-11 22:40:18 -05:00
parent 77fb22c0d2
commit c3d1674e57
4 changed files with 7 additions and 4 deletions

View file

@ -859,9 +859,6 @@ class Channel {
this.idToPrev.set(messagez.snowflake, this.lastmessageid);
this.lastmessageid = messagez.snowflake;
this.messageids.set(messagez.snowflake, messagez);
if (!this.infinitefocus) {
this.tryfocusinfinate();
}
if (messagez.author === this.localuser.user) {
this.lastreadmessageid = messagez.snowflake;
if (this.myhtml) {
@ -875,6 +872,9 @@ class Channel {
}
this.guild.unreads();
if (this === this.localuser.channelfocus) {
if (!this.infinitefocus) {
this.tryfocusinfinate();
}
this.infinite.addedBottom();
}
if (messagez.author === this.localuser.user) {