chore: ignore chatroom and service conversation to fetch recipt

timestamps.
oneRain 2021-01-05 17:12:43 +08:00
parent 965ca7ab85
commit 58245c18da
3 changed files with 9 additions and 1 deletions

View File

@ -32,5 +32,9 @@ namespace LeanCloud.Realtime {
public override Task Read() {
return Task.CompletedTask;
}
public override Task FetchReciptTimestamps() {
return Task.CompletedTask;
}
}
}

View File

@ -467,7 +467,7 @@ namespace LeanCloud.Realtime {
/// Fetches receipt timestamp.
/// </summary>
/// <returns></returns>
public async Task FetchReciptTimestamps() {
public virtual async Task FetchReciptTimestamps() {
await Client.ConversationController.FetchReciptTimestamp(Id);
}

View File

@ -17,5 +17,9 @@ namespace LeanCloud.Realtime {
public async Task<bool> CheckSubscription() {
return await Client.ConversationController.CheckSubscription(Id);
}
public override Task FetchReciptTimestamps() {
return Task.CompletedTask;
}
}
}