Skip to content

Commit

Permalink
Socket ID is a string, not an integer.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeredpath committed Dec 13, 2011
1 parent 4cc6e42 commit f111ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/PTPusherAPI.m
Expand Up @@ -52,7 +52,7 @@ - (void)triggerEvent:(NSString *)eventName onChannel:(NSString *)channelName dat
[queryParameters setValue:@"1.0" forKey:@"auth_version"];
[queryParameters setValue:eventName forKey:@"name"];

if (socketID > 0) {
if (socketID) {
[queryParameters setObject:socketID forKey:@"socket_id"];
}

Expand Down

0 comments on commit f111ff5

Please sign in to comment.