[Adium-devl] libpurple account options in adium
Eion Robb
eion at bigfoot.com
Tue Nov 27 19:41:26 UTC 2007
> The prpl definitely shouldn't be doing anything with CBPurpleAccount!
Okie dokie, won't touch it :)
> Perhaps you could describe further what you're trying to accomplish?
The username is set from within the protocol itself after connection...
Maybe I'll have to make a nib like you were talking about for it instead.
> Libpurple is a tool used by Adium, not the driving force of its UI;
> Adium stores all relevant data for an account on its own and tells
> libpurple what it needs to know.
Fair enough. It was just a little shock seeing that
purple_account_set_username changes the username in Pidgin but not in
Adium :)
> It doesn't present a server option, and its account subclass says:
> //Zephyr connects to a local host so need not disconnect/reconnect as
> the network changes
> - (BOOL)connectivityBasedOnNetworkReachability
> {
> return NO;
> }
>
> to interact properly with the autoconnect functionality. Otherwise,
> it should Just Work; your prpl doesn't expect a server to be
> specified, and Adium doesn't specify one.
Just to double-check, if I specify connectivityBasedOnNetworkReachability
to return NO like above, Adium no longer requires me to have a server
filled in, or will I still need to create a nib?
Cheers,
--Eion
More information about the devel
mailing list