[Adium-devl] 1.2.5b1: One week later
evan.s at dreskin.net
Mon Apr 21 22:07:19 UTC 2008
On Apr 21, 2008, at 5:34 PM, Peter Hosey wrote:
> On Apr 21, 2008, at 13:21:35, Evan Schoenberg wrote:
>> If I understand your question correctly: there is no guarantee that
>> an account will be offline immediately after being told to go
>> offline. It may take some time for it to actually be offline or for
>> contacts on that account to be marked offline and in no group.
> Perhaps the “go offline” command should block (using -[NSRunLoop
> run]) until the account is disconnected, so that the reply can be an
> error if appropriate.
> This would also apply to the other “go [status]” commands.
This could potentially be a long block... and we need the run loop to
find out when the account disconnects, anyways, because it might (for
example) be a process of the account sending "I want to go offline
cleanly" to the server, the server doing some stuff or sending last
minute information, and then the server replying (some time later),
"Okay, go right ahead."
More information about the Adium-devl