diff --git a/SignalR.Client/Transports/SRHttpBasedTransport.m b/SignalR.Client/Transports/SRHttpBasedTransport.m index b613bba2..bb8d85b7 100644 --- a/SignalR.Client/Transports/SRHttpBasedTransport.m +++ b/SignalR.Client/Transports/SRHttpBasedTransport.m @@ -297,7 +297,10 @@ - (void)processResponse:(id )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]])