Mercurial > pidgin
changeset 11819:1452a3a9f07a
[gaim-migrate @ 14110]
SF Patch #1249461 from David Fiander
"When a buddy toggles Allow/Disallow mobile pages the
server sends an NLN command to the client with an
updated client id number (see
http://www.hypothetic.org/docs/msn/notification/presence.php).
This patch adds support for properly tracking the
mobile paging status of buddies."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 25 Oct 2005 19:18:44 +0000 |
parents | 9d6e498fe402 |
children | 2cf6d4cf2cb0 |
files | COPYRIGHT src/protocols/msn/notification.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Tue Oct 25 16:15:12 2005 +0000 +++ b/COPYRIGHT Tue Oct 25 19:18:44 2005 +0000 @@ -74,6 +74,7 @@ Gábor Farkas Jesse Farmer Gavan Fantom (gavan) +David Fiander Rob Flynn <gaim@robflynn.com> Rob Foehl (rwf) Alan Ford
--- a/src/protocols/msn/notification.c Tue Oct 25 16:15:12 2005 +0000 +++ b/src/protocols/msn/notification.c Tue Oct 25 19:18:44 2005 +0000 @@ -660,6 +660,7 @@ GaimConnection *gc; MsnUser *user; MsnObject *msnobj; + int clientid; const char *state, *passport, *friendly; session = cmdproc->session; @@ -690,6 +691,9 @@ } } + clientid = atoi(cmd->params[3]); + user->mobile = (clientid & MSN_CLIENT_CAP_MSNMOBILE); + msn_user_set_state(user, state); msn_user_update(user); }