Skip to content

Commit

Permalink
Only update groups token when provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Bell committed Jan 16, 2014
1 parent 0dfa583 commit 22204f9
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 22204f9

Please sign in to comment.