Differences From Artifact [f27346ed8d]:
- File src/XMPPPresence.m — part of check-in [3b589295f9] at 2011-05-26 20:42:16 on branch trunk — Check for res_ndestroy. (user: js, size: 2639) [annotate] [blame] [check-ins using]
To Artifact [9d5fdb884e]:
- File src/XMPPPresence.m — part of check-in [e009b1b5c8] at 2012-01-25 20:55:23 on branch trunk — If a presence has no type, assume "available", as per RFC 6121. (user: js, size: 2703) [annotate] [blame] [check-ins using]
︙ | |||
72 73 74 75 76 77 78 79 80 81 82 83 84 85 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | + + + + + + | - initWithType: (OFString*)type_ ID: (OFString*)ID_ { return [super initWithName: @"presence" type: type_ ID: ID_]; } - (OFString*)type { if (type == nil) return @"available"; } - (void)addShow: (OFString*)show { [self addChild: [OFXMLElement elementWithName: @"show" namespace: XMPP_NS_CLIENT stringValue: show]]; } |
︙ |