Mercurial > pidgin.yaz
comparison src/protocols/jabber/presence.c @ 7248:aab000475910
[gaim-migrate @ 7825]
of course I meant this
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 13 Oct 2003 15:29:40 +0000 |
parents | 8a2e22478242 |
children | a0b66b6fa9ff |
comparison
equal
deleted
inserted
replaced
7247:8a2e22478242 | 7248:aab000475910 |
---|---|
58 } else if(strcmp(state, GAIM_AWAY_CUSTOM)) { | 58 } else if(strcmp(state, GAIM_AWAY_CUSTOM)) { |
59 /* i can't wait until someone re-writes the status/away stuff */ | 59 /* i can't wait until someone re-writes the status/away stuff */ |
60 stripped = g_strdup(""); | 60 stripped = g_strdup(""); |
61 } | 61 } |
62 | 62 |
63 if(gc->away) | |
64 g_free(gc->away); | |
63 gc->away = stripped; | 65 gc->away = stripped; |
64 | 66 |
65 presence = jabber_presence_create(state, msg); | 67 presence = jabber_presence_create(state, msg); |
66 jabber_send(js, presence); | 68 jabber_send(js, presence); |
67 g_hash_table_foreach(js->chats, chats_send_presence_foreach, presence); | 69 g_hash_table_foreach(js->chats, chats_send_presence_foreach, presence); |