summaryrefslogtreecommitdiff
path: root/Juick/Model/Message.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-02 11:19:23 +0300
committerGravatar Vitaly Takmazov2019-10-02 11:19:23 +0300
commit0d0fa77e02a22bd7b70069c34f8b9f7308c03efd (patch)
tree74f0507a86bfb3de289cf0b5cfb75984be931a33 /Juick/Model/Message.m
parent0242688672c1c2e34e14471767a98ee108cd6bad (diff)
Unread markers
Diffstat (limited to 'Juick/Model/Message.m')
-rw-r--r--Juick/Model/Message.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/Model/Message.m b/Juick/Model/Message.m
index 68cc7c9..f5c2640 100644
--- a/Juick/Model/Message.m
+++ b/Juick/Model/Message.m
@@ -22,6 +22,7 @@
message.user = [User fromJSON:jsonData[@"user"]];
message.timestamp = jsonData[@"timestamp"];
message.service = jsonData[@"service"];
+ message.unread = jsonData[@"unread"];
message.tags = jsonData[@"tags"];
NSMutableArray *entitiesArray = [NSMutableArray new];
for (NSDictionary *entityData in jsonData[@"entities"]) {