Skip to content

Commit

Permalink
why so many unexpected errors....
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Feb 6, 2024
1 parent 99e785c commit 8d7af4b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ public override bool IsBackground(ReceiveMessagesInvocation invocation)

private async Task<System.Tuple<ReceivingResponse<string>, PNStatus>> MakeReceiveMessagesRequest(ReceiveMessagesInvocation invocation)
{
// TODO: Why channels or channelGroups are not null?
var resp = await manager.ReceiveRequest<string>(
PNOperationType.PNSubscribeOperation,
invocation.Channels.ToArray(),
invocation.ChannelGroups.ToArray(),
invocation.Channels?.ToArray() ?? new string[0],
invocation.ChannelGroups?.ToArray() ?? new string[0],
invocation.Cursor.Timetoken.Value,
invocation.Cursor.Region.Value,
invocation.InitialSubscribeQueryParams,
Expand Down

0 comments on commit 8d7af4b

Please sign in to comment.