Differences From Artifact [4e83efc9ba]:
- File src/XMPPMessage.m — part of check-in [694e1355dd] at 2012-02-03 08:05:51 on branch trunk — Change -[XMPPMessage addBody:] to -[XMPPMessage setBody:]. (user: js, size: 2403) [annotate] [blame] [check-ins using]
To Artifact [a2b92c5652]:
- File src/XMPPMessage.m — part of check-in [edef1e1fbf] at 2012-02-03 10:31:45 on branch trunk — Make the body of a message a property. (user: js, size: 2512) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
86 87 88 89 90 91 92 93 | [self removeChild: oldBody]; if (body != nil) [self addChild: [OFXMLElement elementWithName: @"body" namespace: XMPP_NS_CLIENT stringValue: body]]; } @end | > > > > > > | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | [self removeChild: oldBody]; if (body != nil) [self addChild: [OFXMLElement elementWithName: @"body" namespace: XMPP_NS_CLIENT stringValue: body]]; } - (OFString*)body { return [[self elementForName: @"body" namespace: XMPP_NS_CLIENT] stringValue]; } @end |