diff --git a/src/XMPPPresence.m b/src/XMPPPresence.m index fe8a57c..9b57c55 100644 --- a/src/XMPPPresence.m +++ b/src/XMPPPresence.m @@ -77,6 +77,12 @@ ID: ID_]; } +- (OFString*)type +{ + if (type == nil) + return @"available"; +} + - (void)addShow: (OFString*)show { [self addChild: [OFXMLElement elementWithName: @"show"