Add XMPPRosterItem class.
This commit is contained in:
parent
8ea345c02c
commit
56ddb5c8de
4 changed files with 36 additions and 12 deletions
|
@ -39,9 +39,15 @@
|
|||
|
||||
- initWithString: (OFString*)str
|
||||
{
|
||||
size_t nodesep, resourcesep;
|
||||
|
||||
self = [super init];
|
||||
|
||||
size_t nodesep, resourcesep;
|
||||
if (str == nil) {
|
||||
[self release];
|
||||
return nil;
|
||||
}
|
||||
|
||||
nodesep = [str indexOfFirstOccurrenceOfString: @"@"];
|
||||
resourcesep = [str indexOfFirstOccurrenceOfString: @"/"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue