If a presence has no type, assume "available", as per RFC 6121.

This commit is contained in:
Jonathan Schleifer 2012-01-25 21:55:23 +01:00
parent bacc6cd50d
commit 29966cdd13

View file

@ -77,6 +77,12 @@
ID: ID_];
}
- (OFString*)type
{
if (type == nil)
return @"available";
}
- (void)addShow: (OFString*)show
{
[self addChild: [OFXMLElement elementWithName: @"show"