Permalink
Browse files

Reload roster view on a few more notifications

  • Loading branch information...
benlangfeld committed Nov 8, 2010
1 parent 02a8e97 commit 307dc83a81c9a35586e530765ae3206857ad20c5
Showing with 15 additions and 0 deletions.
  1. +15 −0 Controllers/AccountsController.j
@@ -99,6 +99,16 @@ var SharedController = nil;
selector:@selector(reload)
name:TNStropheConnectionStatusError
object:nil];
+ [[CPNotificationCenter defaultCenter]
+ addObserver:self
+ selector:@selector(reload)
+ name:TNStropheContactNicknameUpdatedNotification
+ object:nil];
+ [[CPNotificationCenter defaultCenter]
+ addObserver:self
+ selector:@selector(reload)
+ name:TNStropheContactGroupUpdatedNotification
+ object:nil];
[[CPNotificationCenter defaultCenter]
addObserver:self
selector:@selector(reload)
@@ -129,6 +139,11 @@ var SharedController = nil;
selector:@selector(reload)
name:TNStropheRosterRemovedContactNotification
object:nil];
+ [[CPNotificationCenter defaultCenter]
+ addObserver:self
+ selector:@selector(reload)
+ name:TNStropheRosterRemovedGroupNotification
+ object:nil];
}
- (void)setupStoredAccounts

0 comments on commit 307dc83

Please sign in to comment.