Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 10746:1f51dd1a7f87
[gaim-migrate @ 12348]
I'm standardizing this message in HEAD. Deviate and die, commie pog.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 27 Mar 2005 03:58:44 +0000 |
parents | 94cc67130789 |
children | bf5e48215158 |
comparison
equal
deleted
inserted
replaced
10745:ca69d597a5e2 | 10746:1f51dd1a7f87 |
---|---|
120 else | 120 else |
121 gaim_prpl_got_user_status(gaim_connection_get_account(gc), name, status, NULL); | 121 gaim_prpl_got_user_status(gaim_connection_get_account(gc), name, status, NULL); |
122 } | 122 } |
123 | 123 |
124 if (f->idle != 0) | 124 if (f->idle != 0) |
125 gaim_prpl_got_user_idle(gaim_connection_get_account(gc), name, TRUE, f->idle); | 125 gaim_prpl_got_user_idle(gaim_connection_get_account(gc), name, TRUE, f->idle); |
126 else | 126 else |
127 gaim_prpl_got_user_idle(gaim_connection_get_account(gc), name, FALSE, 0); | 127 gaim_prpl_got_user_idle(gaim_connection_get_account(gc), name, FALSE, 0); |
128 } | 128 } |
129 | 129 |
130 static void yahoo_process_status(GaimConnection *gc, struct yahoo_packet *pkt) | 130 static void yahoo_process_status(GaimConnection *gc, struct yahoo_packet *pkt) |
131 { | 131 { |
132 GaimAccount *account = gaim_connection_get_account(gc); | 132 GaimAccount *account = gaim_connection_get_account(gc); |
135 YahooFriend *f = NULL; | 135 YahooFriend *f = NULL; |
136 char *name = NULL; | 136 char *name = NULL; |
137 | 137 |
138 if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) { | 138 if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) { |
139 gc->wants_to_die = TRUE; | 139 gc->wants_to_die = TRUE; |
140 gaim_connection_error(gc, _("You have been logged off as you have logged in on a different machine or device.")); | 140 gaim_connection_error(gc, _("You have signed on from another location.")); |
141 return; | 141 return; |
142 } | 142 } |
143 | 143 |
144 while (l) { | 144 while (l) { |
145 struct yahoo_pair *pair = l->data; | 145 struct yahoo_pair *pair = l->data; |