ObjXMPP  Check-in [7df3923343]

Overview
Comment:Implement -hash for XMPPJID
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7df392334338c24d3da2fdaeba266cb30151733773c490402e458964f89e4da7
User & Date: florob@babelmonkeys.de on 2013-02-10 16:31:27
Other Links: manifest | tags
Context
2013-02-10
17:01
Fix selector for exception handling in XMPPConnection check-in: b654efc74b user: florob@babelmonkeys.de tags: trunk
16:31
Implement -hash for XMPPJID check-in: 7df3923343 user: florob@babelmonkeys.de tags: trunk
16:09
Fix roster versioning check-in: 471aef0278 user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/XMPPJID.m from [9d821ca63e] to [e0809705cc].

241
242
243
244
245
246
247





248
	if ([node isEqual: [otherJID node]] &&
	    [domain isEqual: [otherJID domain]] &&
	    [resource isEqual: [otherJID resource]])
		return YES;

	return NO;
}





@end







>
>
>
>
>

241
242
243
244
245
246
247
248
249
250
251
252
253
	if ([node isEqual: [otherJID node]] &&
	    [domain isEqual: [otherJID domain]] &&
	    [resource isEqual: [otherJID resource]])
		return YES;

	return NO;
}

- (uint32_t) hash
{
	return [[self fullJID] hash];
}
@end