If a presence has no type, assume "available", as per RFC 6121.
This commit is contained in:
parent
bacc6cd50d
commit
29966cdd13
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,12 @@
|
||||||
ID: ID_];
|
ID: ID_];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (OFString*)type
|
||||||
|
{
|
||||||
|
if (type == nil)
|
||||||
|
return @"available";
|
||||||
|
}
|
||||||
|
|
||||||
- (void)addShow: (OFString*)show
|
- (void)addShow: (OFString*)show
|
||||||
{
|
{
|
||||||
[self addChild: [OFXMLElement elementWithName: @"show"
|
[self addChild: [OFXMLElement elementWithName: @"show"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue