Make the body of a message a property.

This commit is contained in:
Jonathan Schleifer 2012-02-03 11:31:45 +01:00
parent 212dac3107
commit 2efeee1a0d
2 changed files with 18 additions and 1 deletions

View file

@ -90,4 +90,10 @@
namespace: XMPP_NS_CLIENT
stringValue: body]];
}
- (OFString*)body
{
return [[self elementForName: @"body"
namespace: XMPP_NS_CLIENT] stringValue];
}
@end