[Adium-devl] AIContentObject question

Evan Schoenberg evan.s at dreskin.net
Sun Aug 12 14:52:53 UTC 2007


On Aug 11, 2007, at 11:32 PM, Peter Hosey wrote:

> And I have a question. Are all AIContentObjects, by definition,  
> associated with a chat? Or can an AIContentObject be not associated  
> with a chat (or at least not yet)?

The designated initializer is +[AIContentObject  
messageInChat:withSource:destination:date:message:autoreply:] / - 
[AIContentObject  
initWithChat:withSource:destination:date:message:autoreply:].  All  
AIContentObjects should therefore be associated with a chat.

Of course, if there's a reason to allow otherwise, we could... having  
a nil chat and assigning it later through a -[AIContentObject  
setChat:] method which does not exist at present wouldn't hurt anything.

-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070812/1aca8d9c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070812/1aca8d9c/attachment.sig>


More information about the devel mailing list