Avoid NPEs when entering conversation view.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 95c5a907f4
commit 92a2fd6b69

@ -309,8 +309,6 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
_networkManager = [TSNetworkManager sharedManager];
_blockingManager = [OWSBlockingManager sharedManager];
_contactsViewHelper = [[ContactsViewHelper alloc] initWithDelegate:self];
[self addNotificationListeners];
}
- (void)addNotificationListeners
@ -580,6 +578,7 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
[self initializeToolbars];
[self createScrollDownButton];
[self createHeaderViews];
[self addNotificationListeners];
}
- (void)registerCustomMessageNibs

Loading…
Cancel
Save