Add stanza classes XMPPStanza, XMPPIQ, XMPPMessage and XMPPPresence
This commit is contained in:
parent
dde9ac7d85
commit
31f444510d
5 changed files with 313 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
#import "XMPPConnection.h"
|
||||
#import "XMPPStanza.h"
|
||||
|
||||
#define NS_BIND @"urn:ietf:params:xml:ns:xmpp-bind"
|
||||
#define NS_CLIENT @"jabber:client"
|
||||
|
@ -135,8 +136,7 @@
|
|||
|
||||
- (void)_sendResourceBind
|
||||
{
|
||||
OFXMLElement *iq = [OFXMLElement elementWithName: @"iq"];
|
||||
[iq addAttributeWithName: @"type" stringValue: @"set"];
|
||||
XMPPIQ *iq = [XMPPIQ IQWithType: @"set" ID: @"bind0"];
|
||||
[iq addChild: [OFXMLElement elementWithName: @"bind"
|
||||
namespace: NS_BIND]];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue