Give AIAccount subclasses an opportunity not to send a status update as soon as the...
commitfe0e698d155b74a9308760fead36033a21ed1fcb
authorEvan Schoenberg <evan@adiumx.com>
Thu, 4 Jan 2007 20:44:21 +0000 (4 20:44 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Thu, 4 Jan 2007 20:44:21 +0000 (4 20:44 +0000)
treeab4a826a077410074bee52b674cc58d9e5f04d14
parent5685e6b470b3d37779ddc8af3e95ced14b05d52a
Give AIAccount subclasses an opportunity not to send a status update as soon as the account connects. While this is reasonable default behavior in general, it is not only duplicative for libgaim, since we specify the status information during the connect process, but also detrimental, since the protocol may wish to wait to send such information until a later time.  Case in point: in Jabber, we don't want to send presence information until the roster has been requested, which does not occur until server capabilities discovery is complete.

Also, properly filter and set the status message for an account which is not yet in the online state.  This fixes a minor bug for libgaim accounts in which the status message would not be set until an instant after connection instead of during the connection process if the protocol supports that... a minor bug which became major and therefore a higher priority with the fix above.

git-svn-id: svn://svn.adiumx.com/adium/branches/adium-1.0@18591 1c916fce-81e2-0310-a464-8ca513f45935
Frameworks/Adium Framework/Source/AIAbstractAccount.m
Plugins/Gaim Service/CBGaimAccount.m