Protocols/MSNP/Commands/SBP: Difference between revisions
No edit summary |
m (1 revision imported) |
||
(No difference)
|
Revision as of 00:23, 29 May 2020
SBP
The SBP command is used to update your copy of a buddy's detail.
MSNP11 - MSNP12
The official client (even older ones that doesn't support contact renaming) use this command when it ecounters a new friendly name for a buddy in NLN or ILN. It's not required to use this command, but if you don't use it, you'll be receiving the old the friendly name for the buddy when synchronizing. One can also use this command to rename buddies to arbitrary names.
SBP <TrID> <Contact's GUID> <Setting> <URL-Encoded Value>\r\n
<Setting> should be MFN for changing the contact's friendly name.
>>> SBP 20 12345678-aabb-5678-1234-a72f38da3c10 MFN John%20Smith\r\n
The server will echo the command back upon success.
<<< SBP 20 12345678-aabb-5678-1234-a72f38da3c10 MFN John%20Smith\r\n
It is not confirmed whether <Setting> can take other values than MFN.
MSNP13 and above
The command is deprecated, as the NS no longer does the address book synchronization (you do it instead). Usage results in immediate disconnection.