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() { public override Task Read() {
return Task.CompletedTask; return Task.CompletedTask;
} }
public override Task FetchReciptTimestamps() {
return Task.CompletedTask;
}
} }
} }

View File

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

View File

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