Mercurial > pidgin
diff src/protocols/msn/notification.c @ 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 | 95fa774d216d |
| children | f8cd06753755 |
line wrap: on
line diff
--- 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); }
