Protocols/MSNP/Commands/SBP: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 1: Line 1:
{{Protocols/MSNP}}
=SBP=
=SBP=



Latest revision as of 18:44, 11 May 2022

MSNP Protocol
IntroductionTermsClients
Reference
Error ListCommandsRelying Party SuiteSpotlife
Services
XMPPHTTP GatewayTabsActivities
Documentation
Development ToolsMSNP Grid
PolygamyURLs used by MSN
Documents
Protocol Versions
Version 21
Version 18
Version 16
Version 15
Version 14
Version 13
Version 12
Version 11
Version 9
Version 8
Version 2
MSNC
IntroductionP2PObject DescriptorDisplay PicturesFile Transfer
Scenarios
Microsoft Messenger for Mac
MSNP on WebTV (MSNTV)

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.