Return empty string for connectionId in some cases (#2470)

This commit is contained in:
BrennanConroy 2018-06-11 12:50:34 -07:00 committed by GitHub
parent 8f69509aaf
commit 0306038658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.SignalR.Client.Internal
{ {
get get
{ {
if (Count == 1 && index == 0) if (index == 0)
{ {
return new KeyValuePair<string, object>(ClientConnectionIdKey, ConnectionId); return new KeyValuePair<string, object>(ClientConnectionIdKey, ConnectionId);
} }