ObjXMPP  Check-in [3326ea5a0a]

Overview
Comment:Adjust to ObjFW changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3326ea5a0a34a7f3851869b5c6a935753fc0accdd209c4c7cc8f01f1407de598
User & Date: js on 2020-01-03 23:45:55
Other Links: manifest | tags
Context
2020-01-04
00:59
Fix fallback to A/AAAA in case of missing SRV check-in: 985f2f71af user: js tags: trunk
2020-01-03
23:45
Adjust to ObjFW changes check-in: 3326ea5a0a user: js tags: trunk
2019-12-15
13:55
Adjust to ObjFW changes check-in: 715cd43518 user: js tags: trunk
Changes

Modified src/XMPPDiscoEntity.m from [d3e937014c] to [24c15d2174].

110
111
112
113
114
115
116
117

118
119
120
121
122
123
124
	[_discoNodes setObject: node
			forKey: node.node];
}

- (OFString *)capsHash
{
	OFMutableString *caps = [OFMutableString string];
	OFSHA1Hash *hash = [OFSHA1Hash cryptoHash];

	OFData *digest;

	for (XMPPDiscoIdentity *identity in _identities)
		[caps appendFormat: @"%@/%@//%@<",
		    identity.category, identity.type, identity.name];

	for (OFString *feature in _features)







|
>







110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
	[_discoNodes setObject: node
			forKey: node.node];
}

- (OFString *)capsHash
{
	OFMutableString *caps = [OFMutableString string];
	OFSHA1Hash *hash = [OFSHA1Hash
	    cryptoHashWithAllowsSwappableMemory: true];
	OFData *digest;

	for (XMPPDiscoIdentity *identity in _identities)
		[caps appendFormat: @"%@/%@//%@<",
		    identity.category, identity.type, identity.name];

	for (OFString *feature in _features)