summaryrefslogtreecommitdiff
path: root/Juick/Model/User.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Model/User.m')
-rw-r--r--Juick/Model/User.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/Model/User.m b/Juick/Model/User.m
index 5c5e553..f5b41f5 100644
--- a/Juick/Model/User.m
+++ b/Juick/Model/User.m
@@ -16,6 +16,7 @@
user.uid = jsonData[@"uid"];
user.uname = jsonData[@"uname"];
user.avatar = jsonData[@"avatar"];
+ user.unreadCount = [jsonData[@"messagesCount"] integerValue];
return user;
}