Skip to main content

read_source_requirement

Function read_source_requirement 

Source
fn read_source_requirement(
    target_kind: ChannelType,
    same_channel: bool,
) -> Permissions
Expand description

Permissions a member needs to read the expanded reply in the source channel, when the link points to a channel of target_kind.

A link back into the source channel (same_channel) makes the source a channel of target_kind too, so reading the reply there takes what reading that channel does, short of READ_MESSAGE_HISTORY: the reply is a new message.