Commit d77c09b4 by Sixong.Zhu

u

parent da6ef098
Showing with 7 additions and 2 deletions
...@@ -405,14 +405,19 @@ ...@@ -405,14 +405,19 @@
this.data && this.data &&
!this.isAllRead && !this.isAllRead &&
ximInstance ximInstance
.queryNextPageMsg("group", this.chatId, this.data.id - 1, 1) .queryNextPageMsg(
"group",
this.chatId as number,
this.data.id - 1,
1
)
.then((m) => { .then((m) => {
if (m && m.length) { if (m && m.length) {
const t = m[0]; const t = m[0];
t.read_count && t.read_count &&
t.read_count !== this.data.read_count && t.read_count !== this.data.read_count &&
this.updateMessage({ this.updateMessage({
chat: this.chatId, chat: this.chatId as number,
start: this.data.id, start: this.data.id,
all: (this.manualAllRead = all: (this.manualAllRead =
t.read_count === t.total_read_count), t.read_count === t.total_read_count),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment