ObjXMPP  Diff

Differences From Artifact [aa9b33c527]:

To Artifact [c44699b3d2]:


200
201
202
203
204
205
206
207
208
209
210
211
212
213

- (void)addStatus: (OFString*)status
{
	[self addChild: [OFXMLElement elementWithName: @"status"
					  stringValue: status]];
}

- (void)addPriority: (char)priority
{
	OFString* prio = [OFString stringWithFormat: @"%d", priority];
	[self addChild: [OFXMLElement elementWithName: @"priority"
					  stringValue: prio]];
}
@end







|

|




200
201
202
203
204
205
206
207
208
209
210
211
212
213

- (void)addStatus: (OFString*)status
{
	[self addChild: [OFXMLElement elementWithName: @"status"
					  stringValue: status]];
}

- (void)addPriority: (int8_t)priority
{
	OFString* prio = [OFString stringWithFormat: @"%" @PRId8, priority];
	[self addChild: [OFXMLElement elementWithName: @"priority"
					  stringValue: prio]];
}
@end