Add SubOpts section

This commit is contained in:
Oskar Thoren 2020-07-08 13:31:39 +08:00
parent 8af283e825
commit 570afe8426
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E

View File

@ -158,7 +158,13 @@ TODO: Don't quite understand this scenario, to clarify. Wouldn't it always be in
### SubOpts
TODO
To do topic subscription management, we MAY send updates to our peers. If we do so, then:
The `subscribe` field MUST contain a boolean, where 1 means subscribe and 0 means unsubscribe to a topic.
The `topicid` field MUST contain the topic.
NOTE: This doesn't appear to be documented in PubSub spec, upstream?
### Historical message support