# HG changeset patch # User Mark Doliner # Date 1087336744 0 # Node ID 3313eab5033d23830c7886c2a38f1a7665840518 # Parent 01dee77a079dc5b4af51a8587af031aa140537c2 [gaim-migrate @ 10098] I really thought I had removed all those gaim_blist_save's Sorry about that committer: Tailor Script diff -r 01dee77a079d -r 3313eab5033d src/protocols/gg/gg.c --- a/src/protocols/gg/gg.c Tue Jun 15 11:59:53 2004 +0000 +++ b/src/protocols/gg/gg.c Tue Jun 15 21:59:04 2004 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 10088 2004-06-15 02:37:27Z thekingant $ + * $Id: gg.c 10098 2004-06-15 21:59:04Z thekingant $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz * @@ -1005,8 +1005,7 @@ gaim_blist_add_group(g, NULL); } b = gaim_buddy_new(gc->account, name, strlen(show) ? show : NULL); - gaim_blist_add_buddy(b,NULL,g,NULL); - gaim_blist_save(); + gaim_blist_add_buddy(b, NULL, g, NULL); g_free(group); } g_free(show); diff -r 01dee77a079d -r 3313eab5033d src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Tue Jun 15 11:59:53 2004 +0000 +++ b/src/protocols/oscar/oscar.c Tue Jun 15 21:59:04 2004 +0000 @@ -2726,6 +2726,7 @@ if (info->present & AIM_USERINFO_PRESENT_IDLE) { time(&time_idle); time_idle -= info->idletime*60; + /* time_idle should be the seconds since epoch at which the user became idle */ } if (info->present & AIM_USERINFO_PRESENT_ONLINESINCE) diff -r 01dee77a079d -r 3313eab5033d src/protocols/silc/buddy.c --- a/src/protocols/silc/buddy.c Tue Jun 15 11:59:53 2004 +0000 +++ b/src/protocols/silc/buddy.c Tue Jun 15 21:59:04 2004 +0000 @@ -961,7 +961,6 @@ "%s" G_DIR_SEPARATOR_S "clientkeys" G_DIR_SEPARATOR_S "clientkey_%s.pub", silcgaim_silcdir(), fingerprint); gaim_blist_node_set_string((GaimBlistNode *)b, "public-key", filename); - gaim_blist_save(); /* Update online status on the buddy list */ gaim_blist_update_buddy_presence(b, GAIM_BUDDY_ONLINE); diff -r 01dee77a079d -r 3313eab5033d src/protocols/silc/chat.c --- a/src/protocols/silc/chat.c Tue Jun 15 11:59:53 2004 +0000 +++ b/src/protocols/silc/chat.c Tue Jun 15 21:59:04 2004 +0000 @@ -340,12 +340,10 @@ silc_client_command_call(sg->client, sg->conn, NULL, "CMODE", sgc->channel->channel_name, "+a", val, NULL); gaim_blist_node_set_string((GaimBlistNode *)sgc->c, "passphrase", val); - gaim_blist_save(); } else if (set == 0) { silc_client_command_call(sg->client, sg->conn, NULL, "CMODE", sgc->channel->channel_name, "-a", NULL); gaim_blist_node_remove_setting((GaimBlistNode *)sgc->c, "passphrase"); - gaim_blist_save(); } silc_buffer_free(sgc->pubkeys); @@ -516,7 +514,6 @@ /* Associate to a real channel */ gaim_blist_node_set_string((GaimBlistNode *)cn, "parentch", p->channel); - gaim_blist_save(); /* Join the group */ silcgaim_chat_join(sg->gc, comp); diff -r 01dee77a079d -r 3313eab5033d src/server.c --- a/src/server.c Tue Jun 15 11:59:53 2004 +0000 +++ b/src/server.c Tue Jun 15 21:59:04 2004 +0000 @@ -1127,6 +1127,10 @@ } } +/* + * @param idle The time at which the buddy became idle, in seconds + * since the epoch. + */ void serv_got_update(GaimConnection *gc, const char *name, int loggedin, int evil, time_t signon, time_t idle, int type) {