comparison src/protocols/jabber/jabber.c @ 8166:ac7bf273bd66

[gaim-migrate @ 8878] tweakage committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 24 Jan 2004 22:40:59 +0000
parents e283be34aadf
children 9d1a984681fe
comparison
equal deleted inserted replaced
8165:8f913260ed5e 8166:ac7bf273bd66
949 return ret; 949 return ret;
950 } 950 }
951 951
952 static GList *jabber_away_states(GaimConnection *gc) 952 static GList *jabber_away_states(GaimConnection *gc)
953 { 953 {
954 JabberStream *js = gc->proto_data;
954 GList *m = NULL; 955 GList *m = NULL;
955 956
956 m = g_list_append(m, _("Online")); 957 m = g_list_append(m, _("Online"));
957 m = g_list_append(m, _("Chatty")); 958 m = g_list_append(m, _("Chatty"));
958 m = g_list_append(m, _("Away")); 959 m = g_list_append(m, _("Away"));
959 m = g_list_append(m, _("Extended Away")); 960 m = g_list_append(m, _("Extended Away"));
960 m = g_list_append(m, _("Do Not Disturb")); 961 m = g_list_append(m, _("Do Not Disturb"));
961 m = g_list_append(m, _("Invisible")); 962 if(js->protocol_version == JABBER_PROTO_0_9)
963 m = g_list_append(m, _("Invisible"));
962 m = g_list_append(m, GAIM_AWAY_CUSTOM); 964 m = g_list_append(m, GAIM_AWAY_CUSTOM);
963 965
964 return m; 966 return m;
965 } 967 }
966 968