Fix namespace handling.
This commit is contained in:
parent
1ffd66aa92
commit
d80aa353d3
4 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue