debugging channels

This commit is contained in:
or-else
2020-07-26 11:21:06 -07:00
parent 3db9ecd0ff
commit 4972f68db4
4 changed files with 30 additions and 22 deletions
+1
View File
@@ -417,6 +417,7 @@ A `channel` topic is different from the non-channel group topic in the following
* Channel topic is created by sending `{sub topic="nch"}`. Sending `{sub topic="new"}` will create a group topic without enabling channel functionality.
* Sending `{sub topic="chnAbC123"}` will create a `reader` subscription to a channel. A non-channel topic will reject such subscription request.
* When searching for topics using [`fnd`](#fnd-and-tags-finding-users-and-topics), channels will show addresses with `chn` prefixes, non-channel topic will show with `grp` prefixes.
* Messages received by readers on channels have no `From` field. Normal subscribers will receive messages with `From` containing ID of the sender.
* Default permissions for a channel and non-channel group topics are different: channel group topic grants no permissions at all.
* A subscriber joining or leaving the topic (regular or channel-enabled) generates a `{pres}` message to all other subscribers who are currently in the joined state with the topic and have appropriate permissions. Reader joining or leaving the channel generates no `{pres}` message.