ObjXMPP  Check-in [479c1259df]

Overview
Comment:Add XMPPDisco*.h to ObjXMPP.h, remove debug code
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 479c1259dfde55ec741c6504fa9333fc4cf5045339781bf8bfac1b5a1d5f060d
User & Date: florob@babelmonkeys.de on 2013-03-23 22:06:41
Other Links: manifest | tags
Context
2013-03-24
15:33
DiscoEntity: Answer to requests send to the caps node check-in: 31e88fde56 user: florob@babelmonkeys.de tags: trunk
2013-03-23
22:06
Add XMPPDisco*.h to ObjXMPP.h, remove debug code check-in: 479c1259df user: florob@babelmonkeys.de tags: trunk
18:59
Add support for calculating caps hashes check-in: 0d43c61dbc user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/ObjXMPP.h from [cf74b69799] to [6670078efb].

33
34
35
36
37
38
39




33
34
35
36
37
38
39
40
41
42
43







+
+
+
+
#import "XMPPRosterItem.h"
#import "XMPPRoster.h"

#import "XMPPStreamManagement.h"

#import "XMPPContact.h"
#import "XMPPContactManager.h"

#import "XMPPDiscoEntity.h"
#import "XMPPDiscoNode.h"
#import "XMPPDiscoIdentity.h"

Modified src/XMPPDiscoEntity.m from [8157f6bcb0] to [59e69ee9cc].

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
86
87
88
89
90
91
92

93
94
95


96
97
98
99
100
101
102







-



-
-








	return [caps SHA1Hash];
}

- (BOOL)connection: (XMPPConnection*)connection
      didReceiveIQ: (XMPPIQ*)IQ
{
	of_log(@"Called connection:didReceiveIQ:... %@ %@", [IQ to], _JID);
	if (![[IQ to] isEqual: _JID])
		return NO;

	of_log(@"...that is for us");

	OFXMLElement *query = [IQ elementForName: @"query"
				       namespace: XMPP_NS_DISCO_ITEMS];

	if (query != nil) {
		OFString *node =
		    [[query attributeForName: @"node"] stringValue];
		if (node == nil)