-
Notifications
You must be signed in to change notification settings - Fork 159
Description
It seems like a few server messages related to privileges are no longer in use. When I purchased privileges and attempted a few transfers, I never saw the following messages, even with the official client:
- AddToPrivileged (code 91)
- UserPrivileged (code 122)
- NotifyPrivileges (code 124)
- AckNotifyPrivileges (code 125)
It would appear that most of these messages are redundant, either replaced with private messages both when receiving and gifting privileges, or the PrivilegedUsers (code 69) and GetUserStatus (code 7) messages for registering the change. The privileged boolean was apparently added to the GetUserStatus message in 2006: https://github.com/Nicotine-Plus/nicotine-plus/blob/master/NEWS.md#version-125-september-17th-2006
The documentation for NotifyPrivileges and AckNotifyPrivileges seems to be quite inconsistent and incorrect in some cases, and Nicotine+ previously sent a NotifyPrivileges message to the server, while the official client didn't.
Looking at the message list in the Soulfind server software, there's a comment next to code 69 about the server switching to a new system, but ultimately it seems like this user list is still the preferred method, as it's sent each time you log into the server. https://github.com/seeschloss/soulfind/blob/master/src/message_codes.d#L75
@jpdillingham Is this something you've previously looked into?