• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
InstantMessage Framework problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantMessage Framework problem


  • Subject: InstantMessage Framework problem
  • From: Steven Palm <email@hidden>
  • Date: Thu, 25 Aug 2005 13:04:02 -0500

Greetings all,

If this is not the appropriate list, please point me elsewhere. ;-)

I'm trying to do some work with the new InstantMessage Framework in Tiger.

I register a handler for the status notifications that I want, and when I see a status change, I can request the full info for the screen name. This works splendidly, I get everything, including the buddy's icon picture data.

Now, I found a quirk, in that if you are monitoring the status and go offline and back online, you get flooded with status updates for everyone on your buddy list. Hmm.... I thought the simple answer was to watch for service status messages, and when you see that the user has logged off, etc., you just stop watching for person status change messages. After they have logged in, wait a few seconds and then request updates again.

This works, at least it avoids the flooding problem. However, after this point, you no longer can see any buddy image data! I get notifications for user state changes, but when I request infoForScreenName:, it no longer will report the imageData to me... It has everything else, their status, capabilities, message, etc., but no image data.

Very strange, and I haven't a clue how to go about debugging it. I'm dumping the NSDictionary returned by infoForScreenName, and upon initial registration for the events, all data (including imageData) is there, but after de-registering for events and re-registering, they no longer are returned to me.

Any thoughts?

 Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Alloc Mocks my World
  • Next by Date: Re: Compiler Warning - unknown Method
  • Previous by thread: Re: Need help in setting up an NSTevtView in an overlay window
  • Next by thread: NSString and Unicode and Japanese character encodings
  • Index(es):
    • Date
    • Thread