mirror of
https://github.com/tinode/chat.git
synced 2026-05-07 20:12:42 +00:00
debugging channels
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user