summaryrefslogtreecommitdiff
path: root/Juick/Message.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Message.m')
-rw-r--r--Juick/Message.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/Message.m b/Juick/Message.m
index 08f9289..2c35ef4 100644
--- a/Juick/Message.m
+++ b/Juick/Message.m
@@ -18,6 +18,7 @@
NSString *text = [[dictionary objectForKey:@"body"] stringByDecodingHTMLEntities];
NSDictionary *userDict = [dictionary objectForKey:@"user"];
result.user = [userDict objectForKey:@"uname"];
+ result.userID = [userDict objectForKey:@"uid"];
NSArray *tagsArray = [dictionary objectForKey:@"tags"];
if ([tagsArray count] > 0) {
result.text = [[NSString alloc] initWithFormat:@"%@\n%@", [tagsArray componentsJoinedByString:@", "], text];