Skip to content

Commit

Permalink
Pass through userInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeri Djojosoeparto authored and tonyxiao committed Apr 29, 2017
1 parent 14619ab commit aadf4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Analytics/Classes/Internal/SEGSegmentIntegration.m
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ - (void)reset
- (void)notifyForName:(NSString *)name userInfo:(id)userInfo
{
dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter] postNotificationName:name object:self];
[[NSNotificationCenter defaultCenter] postNotificationName:name object:userInfo];
SEGLog(@"sent notification %@", name);
});
}
Expand Down

0 comments on commit aadf4d5

Please sign in to comment.