Skip to content

Commit

Permalink
chore: ignore chatroom and service conversation to fetch recipt
Browse files Browse the repository at this point in the history
timestamps.
  • Loading branch information
onerain88 committed Jan 5, 2021
1 parent 965ca7a commit 58245c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Realtime/Realtime/Conversation/LCIMChatRoom.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ public override Task<LCIMPartiallySuccessResult> AddMembers(IEnumerable<string>
public override Task Read() {
return Task.CompletedTask;
}

public override Task FetchReciptTimestamps() {
return Task.CompletedTask;
}
}
}
2 changes: 1 addition & 1 deletion Realtime/Realtime/Conversation/LCIMConversation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public async Task<ReadOnlyCollection<LCIMMessage>> QueryMessages(LCIMMessageQuer
/// Fetches receipt timestamp.
/// </summary>
/// <returns></returns>
public async Task FetchReciptTimestamps() {
public virtual async Task FetchReciptTimestamps() {
await Client.ConversationController.FetchReciptTimestamp(Id);
}

Expand Down
4 changes: 4 additions & 0 deletions Realtime/Realtime/Conversation/LCIMServiceConversation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ public async Task Unsubscribe() {
public async Task<bool> CheckSubscription() {
return await Client.ConversationController.CheckSubscription(Id);
}

public override Task FetchReciptTimestamps() {
return Task.CompletedTask;
}
}
}

0 comments on commit 58245c1

Please sign in to comment.