47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
- initWithConnection: (XMPPConnection*)connection
capsNode: (OFString*)capsNode
{
self = [super initWithJID: [connection JID]
node: nil];
@try {
_discoNodes = [OFMutableDictionary new];
_connection = connection;
_capsNode = [capsNode copy];
[_connection addDelegate: self];
} @catch (id e) {
[self release];
@throw e;
|
|
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
- initWithConnection: (XMPPConnection*)connection
capsNode: (OFString*)capsNode
{
self = [super initWithJID: [connection JID]
node: nil];
@try {
_discoNodes = [[OFMutableDictionary alloc] init];
_connection = connection;
_capsNode = [capsNode copy];
[_connection addDelegate: self];
} @catch (id e) {
[self release];
@throw e;
|