Skip to content

Conversation

rafaelmf3
Copy link
Contributor

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)
  • Commit message fits conventional commits. Important for CHANGELOG generation.

Description of the pull request

throw new ArgumentException("User ID cannot be empty", nameof(userID));

// Check if delivery receipts are enabled for this user
var user = GetClient().User;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[dotnet] reported by reviewdog 🐶
error CS0103: The name 'GetClient' does not exist in the current context [/home/runner/work/stream-chat-net/stream-chat-net/src/stream-chat-net.csproj]

return null;
}

return await ExecuteRequestAsync<EventResponse>("channels/delivered",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[dotnet] reported by reviewdog 🐶
error CS0311: The type 'StreamChat.Models.EventResponse' cannot be used as type parameter 'T' in the generic type or method 'ClientBase.ExecuteRequestAsync(string, HttpMethod, HttpStatusCode, object, IEnumerable<KeyValuePair<string, string>>, MultipartFormDataContent)'. There is no implicit reference conversion from 'StreamChat.Models.EventResponse' to 'StreamChat.Models.ApiResponse'. [/home/runner/work/stream-chat-net/stream-chat-net/src/stream-chat-net.csproj]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant