From: Mark Doliner <mark@ki...> - 2003-07-15 22:57:16
Ye gads. Having a 20 email long discussion about this is a bit unnecessary.
If you want the abridged version, read the original email from Alex, then read
Rob's email, then read this one.
1) "The correct solution to this problem is not to hack around turning on or
off the local or server side lists." Certainly not. Both the server and
local list should be used in conjunction whenever possible (ie for protocols
that support it).
2) I can't speak for other protocols but AIM/ICQ over OSCAR does support a
mechanism for keeping buddy lists in sync. I don't want to go into the
details, but there is a timestamp on the server-stored information that is set
by the server. The timestamp is updated whenever a change is made. The
client has this same timestamp. If the server's timestamp is more recent then
the client should disregard all of it's local information and use only the
information on the server.
Why doesn't Gaim use this timestamp? Because no one has written support for
it yet. Why the hell not? Because it will take a lot of time, I'm pretty
busy, I've grown rather weary of working on SSI, and no one has submitted a
patch for it (yeah, that'll happen...). What about the order of the buddies?
That's an even bigger pain, and will become more so when Gaim implements
person support (millennia from now). It is, of course, possible for Gaim to
attempt to rearrange the buddies in the local list based on changes made to
the server list.
3) The correct solution is "to write a mechanism and a UI which can spot the
appearance or disappearance of buddies from either list, and ask which way the
user would like the changes to go."
This would indeed solve the problem. Albeit in a less graceful way than
simply using the timestamp. I am unsure if other protocols would require this
(because they don't support #2).
> --- Alex Deucher <agd5f@...> wrote:
> > Is there a way to make gaim not write my buddy list to a file(at
> > least
> > for AOL)? The problem is that if I add or remove buddys when I'm
> > using
> > another AIM client, the next time I run gaim, it overwrites the never
> > version with what it has on file. those changes then propogate to
> > AOL's servers and I lose any new contacts I have added since the last
> > time I ran gaim. The work around is to delete my ~/.gaim/blist.xml
> > file before I start gaim. after I delete it, gaim pulls down my
> > current buddy list from AOL and all works fine.
O O Mark Doliner
\ | mark@...
\ | http://www.kingant.net
"I'd rather be rich than stupid."