Make use of multicast delegates in XMPPRoster.

This commit is contained in:
Jonathan Schleifer 2012-01-30 18:45:43 +01:00
parent cb43292ca0
commit d1dc839333
6 changed files with 41 additions and 42 deletions

View file

@ -97,7 +97,7 @@ OF_APPLICATION_DELEGATE(AppDelegate)
roster = [[XMPPRoster alloc] initWithConnection: conn];
[conn addDelegate: self];
[roster setDelegate: self];
[roster addDelegate: self];
if ([arguments count] != 3) {
of_log(@"Invalid count of command line arguments!");