Fix namespace handling.

This commit is contained in:
Jonathan Schleifer 2011-05-12 19:49:58 +02:00
parent 1ffd66aa92
commit d80aa353d3
4 changed files with 9 additions and 1 deletions

View file

@ -22,6 +22,7 @@
*/
#import "XMPPMessage.h"
#import "XMPPConnection.h"
@implementation XMPPMessage
+ message
@ -75,6 +76,7 @@
- (void)addBody: (OFString*)body
{
[self addChild: [OFXMLElement elementWithName: @"body"
namespace: XMPP_NS_CLIENT
stringValue: body]];
}
@end