summaryrefslogtreecommitdiff
path: root/Juick/Message.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-11-03 06:08:35 +0400
committerGravatar Vitaly Takmazov2013-11-03 06:08:35 +0400
commit08574251153406e4755f58c2ee5548ee32e308fb (patch)
tree26325a6adace092e919234064b0446c3a80812a1 /Juick/Message.m
parent6dfbafe71aba41bdcf8aba331c1c193c88b42561 (diff)
avatars
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];