Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #135 from onerain88/fix_unread_count
Browse files Browse the repository at this point in the history
fix: 修复在「手动标记已读」的状态下,收到消息并手动标记后,但 unread 消息数量不对的 bug
  • Loading branch information
oneRain committed Jan 22, 2019
2 parents 1682815 + 2b1238b commit 711bca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LeanCloud.Realtime/Public/AVIMConversation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ public Task ReadAsync(IAVIMMessage message = null, DateTime? readAt = null)
}
return this.CurrentClient.ReadAsync(this, message, readAt).OnSuccess(t =>
{
Received = null;
_lastUnreadWhenOpenSession = null;
Read = new ReadState()
{
Expand Down

0 comments on commit 711bca6

Please sign in to comment.