From: Nathan W. <fac...@us...> - 2004-07-18 20:32:59
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19784/src/protocols/jabber Modified Files: presence.c Log Message: nosmilot fixed this, but I rewrote his patch to be more cryptic Index: presence.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/presence.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -p -r1.48 -r1.49 --- presence.c 17 Jul 2004 18:11:09 -0000 1.48 +++ presence.c 18 Jul 2004 20:32:51 -0000 1.49 @@ -72,7 +72,9 @@ void jabber_presence_fake_to_self(Jabber } jabber_buddy_track_resource(jb, js->user->resource, 0, state, (msg && *msg) ? msg : NULL); if((jbr = jabber_buddy_find_resource(jb, NULL))) - serv_got_update(js->gc, my_base_jid, 1, 0, 0, 0, jbr->state); + serv_got_update(js->gc, my_base_jid, + away_state ? !strcmp(away_state, "unavailable") : 1, + 0, 0, 0, jbr->state); } } g_free(my_base_jid); |