diff --git a/Classes/HistoryListTableView.m b/Classes/HistoryListTableView.m index 92668291f..14ac6633c 100644 --- a/Classes/HistoryListTableView.m +++ b/Classes/HistoryListTableView.m @@ -58,6 +58,11 @@ name:kLinphoneAddressBookUpdate object:nil]; + [NSNotificationCenter.defaultCenter addObserver:self + selector:@selector(loadData) + name:kLinphoneCallUpdate + object:nil]; + [NSNotificationCenter.defaultCenter addObserver:self selector:@selector(coreUpdateEvent:) name:kLinphoneCoreUpdate @@ -69,8 +74,8 @@ [super viewWillDisappear:animated]; [NSNotificationCenter.defaultCenter removeObserver:self name:kLinphoneAddressBookUpdate object:nil]; - [NSNotificationCenter.defaultCenter removeObserver:self name:kLinphoneCoreUpdate object:nil]; + [NSNotificationCenter.defaultCenter removeObserver:self name:kLinphoneCallUpdate object:nil]; } #pragma mark - Event Functions