changeset 9745:bd6c7317935c

[gaim-migrate @ 10610] datallah says this is better committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 12 Aug 2004 04:46:36 +0000
parents 9a17c90ba190
children 3a71d70e3945
files src/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Thu Aug 12 04:41:18 2004 +0000
+++ b/src/protocols/jabber/presence.c	Thu Aug 12 04:46:36 2004 +0000
@@ -77,9 +77,7 @@
 				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,
-						away_state ? !strcmp(away_state, "unavailable") : 1,
-						0, 0, 0, jbr->state);
+				serv_got_update(js->gc, my_base_jid, 1, 0, 0, 0, jbr->state);
 			else
 				serv_got_update(js->gc, my_base_jid, 0, 0, 0, 0, 0);
 		}