diff options
Diffstat (limited to 'Juick/Model')
-rw-r--r-- | Juick/Model/Chat.h | 1 | ||||
-rw-r--r-- | Juick/Model/User.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Juick/Model/Chat.h b/Juick/Model/Chat.h index a472389..1e80bdf 100644 --- a/Juick/Model/Chat.h +++ b/Juick/Model/Chat.h @@ -13,6 +13,7 @@ @property NSNumber *uid; @property NSString *uname; +@property NSString *avatar; @property NSNumber *unreadCount; @property NSDate *lastMessageTimestamp; @property NSString *lastMessageText; diff --git a/Juick/Model/User.h b/Juick/Model/User.h index 2710e4a..8120dec 100644 --- a/Juick/Model/User.h +++ b/Juick/Model/User.h @@ -11,6 +11,7 @@ @interface User : NSObject @property (nonatomic, strong) NSString *uname; @property (nonatomic, strong) NSString *uid; +@property (nonatomic, strong) NSString *avatar; + (void) get:(NSString *)name callback:(void(^)(User *))callback; |