Make use of multicast delegates in XMPPRoster.
This commit is contained in:
parent
cb43292ca0
commit
d1dc839333
6 changed files with 41 additions and 42 deletions
|
@ -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!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue