summaryrefslogtreecommitdiff
path: root/Juick/Model
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Model')
-rw-r--r--Juick/Model/Message.h4
-rw-r--r--Juick/Model/Message.m4
2 files changed, 4 insertions, 4 deletions
diff --git a/Juick/Model/Message.h b/Juick/Model/Message.h
index b100e7d..438f693 100644
--- a/Juick/Model/Message.h
+++ b/Juick/Model/Message.h
@@ -11,8 +11,8 @@
@interface Message : NSObject
-@property NSNumber *MID;
-@property NSNumber *RID;
+@property NSNumber *mid;
+@property NSNumber *rid;
@property User *user;
@property NSString *text;
@property NSArray<NSString *> *tags;
diff --git a/Juick/Model/Message.m b/Juick/Model/Message.m
index de08e98..a4bcd2c 100644
--- a/Juick/Model/Message.m
+++ b/Juick/Model/Message.m
@@ -13,8 +13,8 @@
+ (NSDictionary *)modelCustomPropertyMapper {
return @{@"text" : @"body",
- @"MID" : @"mid",
- @"RID" : @"rid",
+ @"mid" : @"mid",
+ @"rid" : @"rid",
@"attach" : @"photo.small",
@"repliesCount": @"replies",
@"repliesBy": @"repliesby"};