InstantMessage Framework problem
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