Giter Club home page Giter Club logo

xmppframework's People

Contributors

adamvduke avatar andrewtj avatar avaidyam avatar beribas avatar bnadim avatar chrisballinger avatar davidchiles avatar drodriguez avatar echamberlain avatar fsvilas avatar fwigorcferreira avatar gblazex avatar igorcferreira avatar jonstaff avatar karimhm avatar kastiglione avatar mimi89999 avatar mmacvicar avatar n-pex avatar objcolumnist avatar paulmelnikow avatar phetsana avatar pwetrifork avatar rnapier avatar robbiehanson avatar sergiosvieira avatar stigger avatar terryso avatar vitalyster avatar xingheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xmppframework's Issues

XMPPStream & XMPPElementReceipt

XMPPElementReceipt *receipt;
[xmppStream sendElement:messageElement andGetReceipt:&receipt];
if ([receipt wait:-1]) {
    // Element was sent
    return YES;
} else {
    return NO;
}

Above will always return NO, not waiting for message to be sent as per documentation.

Tested on iOS5

File Transfer with XEP-0065

I am trying to transfer files using TurnSocket, however I am done with the handshaking but it is creating time-out issue. AM implementing it with openfire. Can you tell me where am I being wrong..

Creating rooms in iChat server

Not sure if this is a iChat server issue but we are unable to create rooms using the api on our iChat server. We are able to do so using other jabber client. I get a 404 type = 'CANCEL' when I try to send a message following create or join room call. Pl. help

XMPPPresence presenceDate

hi Robbiehanson.

I have a question about XMPPPresence last online Date lile What's app -> This morning 10:56

Did this framework support this function?

And I found the method -> - (NSDate *)delayedDeliveryDate()
in XMPPElement+Delay.h class,

can parse this xml stanza

is that means the offline date?
thx ur help

my mail is
[email protected]

Accessing XMPPUserCoreDataStorageObject objects from mergeChangesFromContextDidSaveNotification call

Hi

Am quite new XMPPFramework and am porting an existing app from using old version of XMPP that had a XMPPStreamFacebook stream to the new framework which just has XMPPStream and initWithFacebookAppId constructor. Am nearly there, everything seems to work, at least the first time, the 2nd time i run the app i have problems when mergeChangesFromContextDidSaveNotification calls my controllerWillChangeContent, this function access objects via my NSFetchedResultsController that has been setup on the main thread, it was created with object returned by mainThreadManagedObjectContext. Is this correct ? It seems when i try and access the actual objects it crashes because they were created within XMPPFramework on another thread and as we know CoreData is not thread safe. Whats easiest fix ?

thanks

Unable to refresh the buddy list

I'm sorry I'm not able to figure out my problem why my buddy array is
not getting refresh along with the - (void)controllerDidChangeContent:
(NSFetchedResultsController *)controller

Here is the code:

////This one refresh the buddy list in the core data and also refresh
the tableview//// So to refresh my buddy array i removed all
objects///

   - (void)controllerDidChangeContent:(NSFetchedResultsController
   *)controller
   {
       [onlineBuddies removeAllObjects];
           [[self tableView1] reloadData];

   }

   - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
   {
           return [[[self fetchedResultsController] sections] count];

   }

   - (NSString *)tableView:(UITableView *)sender titleForHeaderInSection:
   (NSInteger)sectionIndex
   {
           NSArray *sections = [[self fetchedResultsController] sections];

           if (sectionIndex < [sections count])
           {
            id <NSFetchedResultsSectionInfo> sectionInfo = [sections
   objectAtIndex:sectionIndex];

                   int section = [sectionInfo.name intValue];
            switch (section)
                   {
                    case 0  : return @"Available";
                    case 1  : return @"Away";
                    default : return @"Offline";
            }
    }

    return @"";

   }

   - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:
   (NSInteger)sectionIndex
   {
    NSArray *sections = [[self fetchedResultsController] sections];

    if (sectionIndex < [sections count])
    {
            id <NSFetchedResultsSectionInfo> sectionInfo = [sections
   objectAtIndex:sectionIndex];
            return sectionInfo.numberOfObjects;
           }

           return 0;

   }

   - (UITableViewCell *)tableView:(UITableView *)tableView
   cellForRowAtIndexPath:(NSIndexPath *)indexPath
   {
           static NSString *CellIdentifier = @"Cell";

           UITableViewCell *cell = [tableView
   dequeueReusableCellWithIdentifier:CellIdentifier];

                  if (cell == nil)
                         {
                                 cell = [[UITableViewCell alloc]
          initWithStyle:UITableViewCellStyleDefault
                                  reuseIdentifier:CellIdentifier];
           }

                  XMPPUserCoreDataStorageObject *user = [[self
          fetchedResultsController] objectAtIndexPath:indexPath];

                  cell.textLabel.text = user.displayName;
        [onlineBuddies addObject:user.displayName];
              NSLog(@"display name is = %@ \n array username is =
          %@",cell.textLabel.text, [onlineBuddies objectAtIndex:indexPath.row]);
           [self configurePhotoForCell:cell user:user];

                  return cell;

          }

//Here when ever a row is selected i have redirected to other view,
but I'm stuck with the above part itself.

  • (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:
    (NSIndexPath *)indexPath {

    // start a chat

    NSString *userName = (NSString *) [onlineBuddies
    objectAtIndex:indexPath.row];

    SMChatViewController *chatController = [[SMChatViewController
    alloc] initWithUser:userName];
    [self presentModalViewController:chatController animated:YES];

}

The output of this is whenever I compile and run I see that the
display name is different that a username why? What is going wrong in
that????

__weak and __unsafe_unretained property

First I got this error
"existing ivar '_messageDelegate' for unsafe_unretained property '_messageDelegate' must be __unsafe_unretained"

When I declared as

__weak NSObject *_chatDelegate;

@Property (nonatomic, assign) id _chatDelegate;

So I replace __weak with __unsafe_unretained because I'm using the xcode 4.2 with ARC enabled project. Then the errors went off.

Then later when I used the _chatDelegate in the below code I got this error Receiver type 'NSObject' for instance message does not declare a method with selector 'newMessageReceived' Which is an ARC issue.

if (![presenceFromUser isEqualToString:myUsername]) {

if ([presenceType isEqualToString:@"available"]) {

[_chatDelegate newBuddyOnline:[NSString stringWithFormat:@"%@@%@", presenceFromUser, @"obaid.local"]];

//error in this line as Receiver type 'NSObject' for instance message does not declare a method with selector 'newMessageReceived' Which is an ARC issue.

} else if ([presenceType isEqualToString:@"unavailable"]) {

[_chatDelegate buddyWentOffline:[NSString stringWithFormat:@"%@@%@", presenceFromUser, @"obaid.local"]];

}

}

Please help me with this issue.

Issues in sending XML Data

When trying to send an XML data (), its getting disconnected from server.

XMPP Server : openfire
Chat Client :ichat(MAC)
Test code : DesktopXMPP/XMPPStream project

2012-05-10 17:54:41:207 XMPPStream[46974:403] RosterController: xmppRosterDidChange:
2012-05-10 17:54:43:260 XMPPStream[46974:4713] RECV: <test><![CDATA[testmessage]]></test><test><![CDATA[testmessage]]></test>
2012-05-10 17:54:43:260 XMPPStream[46974:403] RosterController: xmppStream:didReceiveMessage:
2012-05-10 17:54:43.260 XMPPStream[46974:403] inside did receive message
2012-05-10 17:54:46:665 XMPPStream[46974:4713] RECV:
2012-05-10 17:54:46:666 XMPPStream[46974:403] RosterController: xmppRosterDidChange:
2012-05-10 17:54:51:035 XMPPStream[46974:6e13] SEND7: <test><![CDATA[testmessage]]></test>
2012-05-10 17:54:51:330 XMPPStream[46974:403] RosterController: xmppStreamDidDisconnect:withError:
#2012-05-10 17:54:51:332 XMPPStream[46974:403] RosterController: xmppRosterDidChange:

Thought this might be issue with cdata, so I tested data only with tags.

2012-05-10 17:50:32:941 XMPPStream[46641:5a1f] RECV: <![[]]><![[]]>

2012-05-10 17:50:32:941 XMPPStream[46641:403] RosterController: xmppStream:didReceiveMessage:
2012-05-10 17:50:32.941 XMPPStream[46641:403] inside did receive message
2012-05-10 17:50:54:126 XMPPStream[46641:770b] SEND7: test
2012-05-10 17:51:04:926 XMPPStream[46641:780f] SEND7: <![[]]>
2012-05-10 17:51:05:208 XMPPStream[46641:403] RosterController: xmppStreamDidDisconnect:withError:
2012-05-10 17:51:05:210 XMPPStream[46641:403] RosterController: xmppRosterDidChange:

Getting same result for both.

Able to send messages containing other escape sequences without issue.

<<>&]]rypteds>tring>
<<>&]]rypteds>tring>
<![CDATA[testencryptedstring]>(* "]"missing)

<![CDATA[testencryptedstring]](*">" tag missing)

Please advise.

Crash after sending or receiving a message.

It logs in fine; however, when I open a new chat, or someone sends me a message, it crashes.

This seems like where something goes wrong:

XMPPStream[11678:1b03] RECV:
2012-06-05 15:03:59:379 XMPPStream[11678:1b03] RECV:
2012-06-05 15:03:59:382 XMPPStream[11678:403] RosterController: xmppRosterDidChange:
2012-06-05 15:03:59:387 XMPPStream[11678:403] RosterController: xmppRosterDidChange:
2012-06-05 15:04:01:900 XMPPStream[11678:403] tableView:shouldEditTableColumn:"jid" row:0
2012-06-05 15:04:01:900 XMPPStream[11678:403] user: <XMPPUser[0x7fcd4a6899c0]: [email protected]>
objc[11678]: cannot form weak reference to instance (0x7fcd4a498930) of class ChatController

and

objc[11998]: cannot form weak reference to instance (0x7f853bd17c70) of class ChatController
(lldb)
(lldb)

Thank you!

group chat issue

Hey i am unable to join chat room and send messages to users of that room. Can you provide the solution for this problem .

How to get presence's status element

Hello
I want to get the status element of presence so for doing it I've added a category to XMPPPresence class like shown in below and it worked fine

@implementation XMPPPresence (AddStatus)

-(void) addStatus:(NSString *)status
{
//NSXMLElement *showElement = [NSXMLElement elementWithName:@"show" stringValue:@"online"];
NSXMLElement *statusElement = [NSXMLElement elementWithName:@"status" stringValue:status];
//[self addChild:showElement];
[self addChild:statusElement];
}

@EnD

However when I tried to retrieve it on the receiving side with using

XMPPUserCoreDataStorageObject *user = [self.fetchedResultsController objectAtIndexPath:indexPath];
cell.textLabel.text = user.displayName;
cell.detailTextLabel.text = user.primaryResources.status;

it crashes and I've checked the user.primaryResources and it was nil , I've also checked the size of resources and it was 0.

Does anyone have any idea about how can I get the status for presence all I want to accomplish is showing the presence status in the subtitle of a cell (like in whatsapp)

P.S : I'm using open fire as xmpp server

Roster doesn't update correctly upon removing user from contacts list

Every time client get presence update this method got called and without the code which I commented below, upon removing user, the removed ( unsubscribed user ) still available, with the code uncommented, it works, but I was wondering will there is an update which create new section for pending user ( instead of throw all in offline section ? ). Thanks in advance.

  • (void)updateWithPresence:(XMPPPresence *)presence streamBareJidStr:(NSString *)streamBareJidStr
    {
    XMPPResourceCoreDataStorageObject *resource;
    resource = (XMPPResourceCoreDataStorageObject *)[self resourceForJID:[presence from]];
    if ([[presence type] isEqualToString:@"unavailable"]

// || [[presence type] isEqualToString:@"unsubscribed"]
// || [[presence type] isEqualToString:@"unsubscribe"]

    || [presence isErrorPresence])

{
if (resource)
{
[self removeResourcesObject:resource];
//[[self managedObjectContext] deleteObject:resource];
[[self managedObjectContext] processPendingChanges];
}
}
else
{
if(resource)
{
[resource updateWithPresence:presence];
}
else
{
XMPPResourceCoreDataStorageObject *newResource;
newResource = [XMPPResourceCoreDataStorageObject insertInManagedObjectContext:[self managedObjectContext]
withPresence:presence
streamBareJidStr:streamBareJidStr];
[self addResourcesObject:newResource];
}
}
[self recalculatePrimaryResource];
}

4 Analyse Errors

Hi - is there any chance of fixing the four errors that appear for the framework in the current version of XCode?

NSData+XMPP.m - "The left operand of '&' is a garbage value". Line 147, variable inbuf[1]. Line 148, variable inbuf[2].
XMPPParser.m - "Value stored to 'lastAddedNs' is never read."
XMPPParser.m - "Value stored to 'selfRetain' during its initialization is never read."

Problem while connecting with Apache Vysper

I need some help please. I have issues connecting with the Apache Vysper.

I have already set:

allowSelfSignedCertificates = YES;
and
allowSSLHostNameMismatch = YES;

Below is the console log. (By the way everything work smoothly in ejabbered)

vysper server is running (using spring framework)...
11:27:20,128 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = INITIATED
11:27:20,184 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" to="10.65.20.118" version="1.0">/stream:stream
11:27:20,185 | INFO | stanza.client | stream
11:27:20,214 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = STARTED
11:27:20,230 | INFO | stanza.server | stream.starttls[required]
11:27:20,253 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:
11:27:20,253 | INFO | stanza.client | starttls
11:27:20,254 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = ENCRYPTION_STARTED
11:27:20,794 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = ENCRYPTED
11:27:20,795 | INFO | stanza.server | proceed
11:27:20,800 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" to="10.65.20.118" version="1.0">/stream:stream
11:27:20,800 | INFO | stanza.client | stream
11:27:20,804 | INFO | stanza.server | stream.features.mechanisms[PLAIN]
11:27:20,808 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza: AHVzZXIxAHVzZXIx
11:27:20,808 | INFO | stanza.client | auth.mechanism='PLAIN'
11:27:20,816 | DEBUG | org.apache.vysper.xmpp.protocol.SessionStateHolder | session state changed to = AUTHENTICATED
11:27:20,817 | INFO | stanza.server | success
11:27:20,819 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" to="10.65.20.118" version="1.0">/stream:stream
11:27:20,819 | INFO | stanza.client | stream
11:27:20,821 | INFO | stanza.server | stream
11:27:20,824 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:
11:27:20,824 | INFO | stanza.client | iq.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,828 | INFO | stanza.server | iq.type='error'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,831 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:
11:27:20,831 | INFO | stanza.client | iq.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,854 | INFO | stanza.server | iq.type='error'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,859 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:
11:27:20,859 | INFO | stanza.client | iq.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,860 | INFO | stanza.server | iq.type='error'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,862 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:
11:27:20,865 | INFO | stanza.client | iq.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,867 | INFO | stanza.server | iq.type='error'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,869 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:
11:27:20,870 | INFO | stanza.client | iq.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,871 | INFO | stanza.server | iq.type='error'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
11:27:20,894 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler | Decoder writing stanza:

Framework does not compile for iOS

The included Xcode project does not compile. The errors are due to missing class definitions in Utilities/GCDMulticastDelegate.m:SupportsWeakReferences

git blame shows these were added recently(a couple of days ago). So I guess they weren't tested for iOS?

The classes in questions are:
NSATSTypesetter, NSColorSpace, NSFont, NSFontManager, NSFontPanel, NSImage, NSMenuView,
NSParagraphStyle, NSSimpleHorizontalTypesetter, NSTableCellView, NSTextView, NSViewController,
NSWindow, and NSWindowController.

I think that entire block should be ifdefed out when building for iOS, but I may be wrong.

IOS XMPPframework connect has no timeout

I have a question - IOS XMPPframework connect the IM server, if the server is shutdown, but the host server is exist. the stream connect is always return YES but no any callback at all. The API has any way to setup time out period? so that we notify the connection failure?

Unable to connect to OpenFire server

I'm able to connect to the local server, and also the google talk and display the buddies and chat on the iphone chat client but when I try to connect to the openfire it doesn't connect

  • (void)xmppStreamXMPPStream *)sender didReceivePresenceXMPPPresence *)presence {

// a buddy went offline/online

NSString *presenceType = [presence type]; // online/offline
NSString *myUsername = [[sender myJID] user];
NSString *presenceFromUser = [[presence from] user];

if (![presenceFromUser isEqualToString:myUsername]) {

if ([presenceType isEqualToString:@"available"]) {

[_chatDelegate newBuddyOnline:[NSString stringWithFormat:@"%@@%@", presenceFromUser, @"50.18.175.235"]];

} else if ([presenceType isEqualToString:@"unavailable"]) {

[_chatDelegate buddyWentOffline:[NSString stringWithFormat:@"%@@%@", presenceFromUser, @"50.18.175.235"]];

}

}
}

I was setting the local server as obaid-macbook.local and google talk as m.google.com in the place of "50.18.175.235" in the above code, however I'm unable to connect to the openfire server that 50.18.175.235.

Please help!

Updated:

Could you please follow this link as I have updated my issue with close to the solution!

http://groups.google.com/group/xmppframework/browse_thread/thread/72da79b9351abb73?pli=1

Parse issue error while compiling

I tried to compile the xmpp iphone example project and I'm getting the Parse issue error on here

@Property (strong, readonly) NSString *user;
@Property (strong, readonly) NSString *domain;
@Property (strong, readonly) NSString *resource;

and also an unexpected '@' here

@autoreleasepool {
int retVal = UIApplicationMain(argc, argv, nil, nil);
return retVal;

Can you please help me out as I'm working on the important project. Thank you.

XMPP MUC Room

hi robbiehanson,

I have another problem when I created the muc room then my ap entered background ,
I will leave the muc room in 40 seconds !
I have already config the muc room in Reserved status!
Do you have another way to keep xmppstream connection when ap in background?!
Thx ur help~

My mail :

[email protected]

error: receiver type 'XMPPXFacebookPlatformAuthentication' for instance message does not declare a method with selector 'base64EncodedFullResponse

Fixed by:

@interface XMPPXFacebookPlatformAuthentication : NSObject

/**

  • You should use this init method (as opposed the one defined in the XMPPSASLAuthentication protocol).
    **/
    • (id)initWithStream:(XMPPStream *)stream appId:(NSString *)appId accessToken:(NSString *)accessToken;
    • (NSDictionary *)dictionaryFromChallenge:(NSXMLElement *)challenge;
    • (NSString *)base64EncodedFullResponse;

@EnD

XMPPReconnect - disconnection is not detected when data disabled in iPhone settings

Hi,

I am using XMPPReconnect in my app. I found strange thing - when I am disable network on iPhone in Settings (enable AirPlane mode or disable data network), the

- (void)xmppStreamDidDisconnect:(XMPPStream *)sender withError:(NSError *)error

is not called. Also [xmppSteam isConnected] returns YES, even when I am not connected any more. When network is enabled again, the connection is not restored.

According to my testing, this doesn't happen, when I disable WiFi on router (means, when I do real network blackout).

Is there any way to fix it to be xmppStreamDidDisconnect: called even when network is disabled in iPhone settings?

Thanks,

Jindrich

Fix ServerlessDemo

Seams like the serverless demo has not been converted to ARC.
When converting to ARC, the build fails due to an error in StreamController.m.

Thanks for your awesome work!

try the demo and got lots of non-stop message

I try to build and run the iphone demo in xcode from downloaded XMPPFramework stuff and got lots of non-stop messages as follow. anybody can tell why?

011-12-02 14:46:05:138 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:138 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:140 iPhoneXMPP[12355:15407] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:141 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:141 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:141 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:142 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:142 iPhoneXMPP[12355:15407] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:142 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:142 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:143 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:143 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:143 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:143 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:143 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:144 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:144 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:144 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:145 iPhoneXMPP[12355:15407] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:146 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:146 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:147 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:148 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:148 iPhoneXMPP[12355:13707] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:148 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:149 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:149 iPhoneXMPP[12355:15603] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:149 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:150 iPhoneXMPP[12355:13707] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:150 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:150 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:150 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:150 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:150 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:151 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:151 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:153 iPhoneXMPP[12355:13707] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:154 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:154 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:154 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:155 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:155 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:155 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:156 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:156 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:156 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:156 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:157 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:157 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:157 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:157 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:158 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:158 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:159 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:160 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:161 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:161 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:162 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:162 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:163 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:163 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:164 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:164 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:164 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:164 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:164 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:165 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:213 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:213 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:213 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:214 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:214 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:220 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:221 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:222 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:222 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:222 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:223 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:246 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:246 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:246 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:246 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:246 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:247 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:247 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:247 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:247 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:248 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:248 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:248 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:248 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:248 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:249 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:249 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:249 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:249 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:250 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:250 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:276 iPhoneXMPP[12355:14007] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:276 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:276 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:277 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:277 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:278 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:279 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:279 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:279 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:315 iPhoneXMPP[12355:15907] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:315 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:316 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:316 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:316 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:317 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:317 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:317 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:318 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:318 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:318 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:318 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:319 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:319 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:320 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:349 iPhoneXMPP[12355:15907] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:349 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:349 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:351 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:351 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:351 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:352 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:353 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:354 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:354 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:354 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:356 iPhoneXMPP[12355:13f07] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:376 iPhoneXMPP[12355:15907] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:376 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:377 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:377 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:378 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:378 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:378 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:379 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:387 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:388 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:389 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:390 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:390 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:390 iPhoneXMPP[12355:14007] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:421 iPhoneXMPP[12355:15907] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:421 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:421 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:422 iPhoneXMPP[12355:15407] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:422 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:422 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:422 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:423 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:423 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:423 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:424 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:424 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:424 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:424 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:424 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:425 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:425 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:425 iPhoneXMPP[12355:13707] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:
2011-12-02 14:46:05:425 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: userForJID:xmppStream:managedObjectContext:
2011-12-02 14:46:05:426 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: Triggering save (pendingRequests=0)
2011-12-02 14:46:05:454 iPhoneXMPP[12355:15907] iPhoneXMPPAppDelegate: contextDidSave: - Merging changes into managedObjectContext_roster
2011-12-02 14:46:05:455 iPhoneXMPP[12355:15907] XMPPRosterCoreDataStorage: setPhoto:forUserWithJID:xmppStream:

XMPPCoreDataStorage should call/use same delegates as XMPPRosterMemoryStorage

Changing the storage "backend" should not have diferent application "semantics" this is when i switch from one to another i still want the same delegates methods to be called on roster updates and presences:

-didRemoveUser:

  • xmppRosterDidChange;
  • didUpdateUser;
  • didAddResource;
    ...
    ...
    etc etc etc.

I feel this is a major TODO: (for example we switched from XMPPRosterMemoryStorage to XMPPCoreDataStorage and due to the lack of this behaviour we're now subclassing/adding extensions to achieve this behaviour.

Roster entry is not deleted after calling -removeUser:

Hi, I'm trying to figure out how to handle the roster correctly. This is the situation:

  • A sends a request to B;
  • B accepts the request;
  • the roster entry is created with subscription="both" (autoAcceptKnownPresenceSubscriptionRequests = YES).

Now if A removes B at the end of the process the status should the following:

  • B still has A in his roster with subscription="none";
  • B is removed from the roster of A.

Instead in the ZXMPPUSERCOREDATASTORAGEOBJECT table of A there is still the record of B with subscription="" (in the sense of nil). This seems an inconsistency because if A disconnect an connect again (fetching again the roster from the server) that record is not present anymore.

The problem with that is when, after the removal, B sends a new request to A: it is automatically accepted without asking and the roster is messed up. If A disconnect and reconnect again (i.e. fetch the roster from the server) the behavior is correct instead.

typo creating capabilities mod in iPhoneXMPP project

I've been browsing round the example code, to see how things work and I think I spotted a gremlin :-

  • (NSManagedObjectContext *)managedObjectContext_capabilities
    {
    if (managedObjectContext_capabilities == nil)
    {
    managedObjectContext_capabilities = [[NSManagedObjectContext alloc] init];

    NSPersistentStoreCoordinator *psc = [xmppCapabilitiesStorage persistentStoreCoordinator];
    
    [managedObjectContext_roster setPersistentStoreCoordinator:psc];
    :
    

    }

    return managedObjectContext_capabilities;
    }

I'm thinking the line marked >>> should read
[managedObjectContext_capabilites setPersistentStoreCoordinator:psc];
rather than ..._roster

Many thanks for all the good work ! Hope to release my App soon :-)

Tim

Instructions

In Step 3, adding the second dependency (CocoaAsyncSocket), the instructions say that the dependency uses manual retain/release.

However when adding the files to the project, there is a directive warning that the GCDAsyncSocket.m must be compiled with ARC.

Please kindly correct the instructions if appropriate in order to avoid further misunderstandings.

XEP-0016 recently added is not ARC ready

when i pulled the last updated XEP and compiled it, I got a lot of ARC errors.
I can disable ARC for this file but the whole framework is ARC ready but not this file...

Could not receive Adding request

Hi All,

The "didReceivePresenceSubscriptionRequest" was not called when there is adding request is coming.

How can I fix it?

Thanks

Logging in XMPPFramework classes is hard to turn off

If you use CocoaLumberjack elsewhere in your project it is difficult to turn off XMPP logging without currently going through each file and modifying the log level.

XMPPFramework should not use #if DEBUG to determine its logging but rather an internal #DEFINE.

Instant Stream disconnect when sending greek localized messages > 100 chars

I have been using the framework for some time now, and I am experiencing issues when sending a message that contains more than 100 greek characters to the network. The stream disconnects with an error message "Socket connection reset by peer" or something like that. I believe it must have something to do with the underlying async socket connection.

This doesn't happen with english characters, and it doesn't happen with other applications (I used Adium to connect to the server and send the same messages). I haven't tried with other languages.

Has this happened to you? Is there any way I can overcome this "limitation"?

Support for stream compression

hi, robbiehanson! Thank you for you work about XMPP. Now I want to support compressing xml stream, according to XEP-0138, I should negotiate with server first and reconnect using compressing xml stream. How can I expand the framework? It seems not easy to make it as extension. I wanna some suggestions.

How to ensure the XMPP message sent to the server?

I am building an iOS app based on XMPP. When I send an XMPP message form client via XMPPFramework, I found the message of the delegate called instantly.

  • (void)xmppStream:(XMPPStream *)sender didSendMessage:(XMPPMessage *)message

But my message contains lots of data, I am sure it can not send so fast. Then the user put the app to background, and the message is lost. How to solve this problem? Please help me.

XMPPRoom handleIncomingMessage:room: crash

hello robbiehanson~~~

I used ur latest MUC Room Source to create MUC Room and it worked,
but when I send group messages to occupants ,the app crashed...

Here is the crashed error shows -->

-[RootViewController handleIncomingMessage:room:]: message sent to deallocated instance 0xac456c0

Could y tell me how to fixed this problem ?

thx!!

My email :

[email protected]

Prebind, xmppframework and openfire

Hi

We're trying to implement XMPP over BOSH for our product. The Strophe.js javascript library works fine for our needs on the WWW site. We request a prebind, it's delivered and then we use Strophe's 'attach' method to start our session - then we're able to update presence and send/receive messages. On the iOS side of things, we're using your XMPPFramework which includes a BOSH transport, but there's no attach method.

I was wondering if anyone's tried prebinding (which I have working in iOS) and then using the provided SID/RID and known or provided JID to get passed authentication and be able to update presence and send/receive messages. I have the XMPP Framework sending/receiving messages fine when I authenticate to Openfire using a known username/password, but the dynamics of our systems require we use a prebind.

Any thoughts would be greatly appreciated. I've also posted more details here: http://stackoverflow.com/questions/8511974/openfire-prebind-robbiehanson-xmppframework-using-bosh-not-working

Unable to use GKVoiceChat with XMPPFramework

Hi,

I am trying to establish a GKVoiceChatService as described in
GKVoiceChatService.h header but at the last step, i am getting an

error saying peer-to-peer connection was not established:

Implementation examples for an application that has uses a server to
establish connections between clients and wants to add peer-to-peer
voice chat. We'll use an XMPP chat client as an example.

XMPPClient<VoiceChatClient, VoiceChatPeerToPeerChannel> xmppClientA;

vcService = [GKVoiceChatService defaultVoiceChatService];
vcService.client = xmppClientA;

*** During the init, the GKVoiceChatService will check to see if
@selector(sendRealTimeData:toParticipant:) method is implemented by
the client.
The Voice Chat Service will know to negotiate its own Peer To Peer
channel since our xmpp client does not implement this method.

*** Assume the xmppClient has a jabber id of [email protected]
and wants to start a voice chat with [email protected] ***

[xmppClientA.vcService startVoiceChatWithParticipantID:
@"[email protected]"];

*** The Voice Chat Service will then try to send necessary connection
info to [email protected] using the server channel that the XMPP
client implements.

[client voiceChatService:self sendData:(NSData *) data
toParticipantID: [email protected] ];

*** xmppClientA will implement the sendConnectionData like this

[xmppClientA wrapAndSendData:(NSData *) data toJid:
[email protected]]

*** On the remote side the xmppClient for [email protected]
should

NSData *serviceData [xmppClientB unwrapData:(NSData *) data fromJid:
[email protected]]
[xmppClientB.vcService receivedData: serviceData
fromParticipantID:participant];

*** Upon receiving this connection data. vcServiceForXMPPClientB
will do the following:
[client voiceChatService:self
receivedVoiceChatInvitationFromParticipant: [email protected]
callID: 1]

*** Client B will then pop up a dialog. The user will choose to
accept. So B will notifiy the voice chat service.
[xmppClientB.vcService acceptConnection: (callid)];

*** The voice chat service on both sides will attempt to establish a
peer-to-peer connection. If they are successful then both voice chat
services will call
[client voiceChatService: self
didStartWithParticipantID:@"clientB(orA)@jabber.foo.org]

The sending and receiving of audio is then done transparently by the
GKVoiceChatService.


Here is detailed NSError object :
Error Domain=GKVoiceChatServiceErrorDomain Code=32002 "Network
conditions prevented connection." UserInfo=0x94a6a50
{NSErrorUserInfoDetailedError=204, NSFilePath=/SourceCache/
GameKitServices_Sim/GameKitServices-344.10/AVConference.subproj/
Sources/VCCallSession.m:2246, NSLocalizedFailureReason=No peer-to-peer
connection established., NSLocalizedDescription=Network conditions
prevented connection.}

I have tried both faceboook chat & google talk but both are giving
same problem.

XMPPRoster don't update correctly upon status changes

http://code.google.com/p/xmppframework/issues/detail?id=31 , I have exactly the same problem as Nicky had and the new code which Robbie believed to be fixed won't fix it, as today the online and offline still display wrong, to my side, I tried Nicky code which insert [self managedObjectContext] processPendingChanges] and it work 95% : upon other user log out and log in, then change status to away ( I using Adium ), the status in iPhone XMPP example doesn't change, but after, 3, or more changes in status, it work like normally and correctly, with Nicky code, online, offline always work. So please fix this problem if you got sometimes, thanks

linker errors

Hi,

There appear to be serious linker errors in the framework or its instructions on how to set up a functional project.
Following the wiki results in something that will compile, but as soon as you invoke #import XMPP.h
you get a preprocessor error b/c the header isn't found.

Adding $(SRCROOT) to the header search paths of the target seems to fix it.
Then, it appears as if the XMPPFramework's classes are found. However, create an object such as XMPPMessage *mess = [[XMPPMessage alloc]init];
That will trigger a Mach-O linker error, saying XMPPMessage isn't found.

Undefined symbols for architecture i386:
"OBJC_CLASS$_XMPPMessage", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Really would appreciate updated, more detailed instructions. The sample iOS project included with the framework appears not to follow the wiki's own instructions in that there is nothing in other linker flags that says -lxml2, for example.
Searching the web, other people are having these issues as well. It's probably just confusion on our part as how to set up the build configurations correctly, but I've been trying for a long long time. Thanks

XMPPUserMemoryStorage:updateWithItem incorrect ?

XMPPUserMemorySorage:updateWithItem implementation is:

  • (void)updateWithItem:(NSXMLElement *)item
    {
    for (NSXMLNode *node in [item attributes])
    {
    NSString *key = [node name];
    NSString *value = [node stringValue];

    [itemAttributes setObject:value forKey:key];
    

    }
    }

Should we not remove all keys from ittemAttributes before updating ?

Im noticing the following flow

users A and B

A (myself) subscribe user B

ittemAttributes :
ask = 'subscribe'
subscription = 'none'

after B accepts

ask = 'subscribe'
subscription = 'to'

this is incorrect it should be
ask = 'nil' or 'none'
subscription = 'to'

Either the error is in updateWithItem or in updateWithPresence:(XMPPPresence *)presence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.