[Adium-devl] Calling -formattedUID on AIMetacontact returns nil
Colin Barrett
timber at lava.net
Wed Feb 6 16:17:14 UTC 2008
On Feb 6, 2008, at 7:54 AM, George Armah wrote:
> Hello Adium-devs,
> as the subject of the email and the following comment from
> AIMetaContact.m indicate ,
> for a metaContact, "//FormattedUID will return nil if we have multiple
> different UIDs contained within us".
>
> This is causing a window to fail to display in my plugin if a user
> selects a metaContact.
> I wanted to know if there was any special reason for the above
> behavior.
You should probably get the formatted UID of the preferred contact
yourself. I think this behavior is fairly reasonable -- there is no
definitive formatted UID for an AIMetaContact like this, it shouldn't
return one.
Any reason you can't just do what you suggested in below in your own
code?
(Really, David should just hurry up and finish rewriting
AIContactController ;)
-Colin
More information about the devel
mailing list