Skip to content

Commit

Permalink
Merge pull request #158 from tylerwbell/patch-1
Browse files Browse the repository at this point in the history
Only update groups token when provided
  • Loading branch information
Alex Billingsley committed Jan 16, 2014
2 parents 0dfa583 + 22204f9 commit 320884e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SignalR.Client/Transports/SRHttpBasedTransport.m
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ - (void)processResponse:(id <SRConnectionInterface>)connection
return;
}

connection.groupsToken = result[@"G"];
NSString *groupsToken = result[@"G"];
if (groupsToken) {
connection.groupsToken = groupsToken;
}

id messages = result[@"M"];
if(messages && [messages isKindOfClass:[NSArray class]])
Expand Down

0 comments on commit 320884e

Please sign in to comment.