- Update
This commit is contained in:
1 parent
d281d765ea
commit
5b074a5176
1261 files changed
+199158
-7303
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "XMPPMessage.h"
|
||||
|
||||
@interface XMPPMessage (XEP_0172)
|
||||
|
||||
- (NSString *)nick;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
#import "XMPPMessage+XEP_0172.h"
|
||||
#import "NSXMLElement+XMPP.h"
|
||||
|
||||
#define XMLNS_NICK @"http://jabber.org/protocol/nick"
|
||||
|
||||
@implementation XMPPMessage (XEP_0172)
|
||||
|
||||
- (NSString *)nick
|
||||
{
|
||||
return [[self elementForName:@"nick" xmlns:XMLNS_NICK] stringValue];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,8 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "XMPPPresence.h"
|
||||
|
||||
@interface XMPPPresence (XEP_0172)
|
||||
|
||||
- (NSString *)nick;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,12 @@
|
||||
#import "XMPPPresence+XEP_0172.h"
|
||||
#import "NSXMLElement+XMPP.h"
|
||||
|
||||
#define XMLNS_NICK @"http://jabber.org/protocol/nick"
|
||||
|
||||
@implementation XMPPPresence (XEP_0172)
|
||||
|
||||
- (NSString *)nick{
|
||||
return [[self elementForName:@"nick" xmlns:XMLNS_NICK] stringValue];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user