diff --git a/Realtime/Realtime/Conversation/LCIMChatRoom.cs b/Realtime/Realtime/Conversation/LCIMChatRoom.cs index 5b77f92..0ecccf1 100644 --- a/Realtime/Realtime/Conversation/LCIMChatRoom.cs +++ b/Realtime/Realtime/Conversation/LCIMChatRoom.cs @@ -32,5 +32,9 @@ namespace LeanCloud.Realtime { public override Task Read() { return Task.CompletedTask; } + + public override Task FetchReciptTimestamps() { + return Task.CompletedTask; + } } } diff --git a/Realtime/Realtime/Conversation/LCIMConversation.cs b/Realtime/Realtime/Conversation/LCIMConversation.cs index c2553d5..f74ace8 100644 --- a/Realtime/Realtime/Conversation/LCIMConversation.cs +++ b/Realtime/Realtime/Conversation/LCIMConversation.cs @@ -467,7 +467,7 @@ namespace LeanCloud.Realtime { /// Fetches receipt timestamp. /// /// - public async Task FetchReciptTimestamps() { + public virtual async Task FetchReciptTimestamps() { await Client.ConversationController.FetchReciptTimestamp(Id); } diff --git a/Realtime/Realtime/Conversation/LCIMServiceConversation.cs b/Realtime/Realtime/Conversation/LCIMServiceConversation.cs index b2159a6..d55a16f 100644 --- a/Realtime/Realtime/Conversation/LCIMServiceConversation.cs +++ b/Realtime/Realtime/Conversation/LCIMServiceConversation.cs @@ -17,5 +17,9 @@ namespace LeanCloud.Realtime { public async Task CheckSubscription() { return await Client.ConversationController.CheckSubscription(Id); } + + public override Task FetchReciptTimestamps() { + return Task.CompletedTask; + } } }