deltachat::peer_channels

Function iroh_add_peer_for_topic

source
pub(crate) async fn iroh_add_peer_for_topic(
    ctx: &Context,
    msg_id: MsgId,
    topic: TopicId,
    peer: NodeId,
    relay_server: Option<&str>,
) -> Result<()>
Expand description

Cache a peers [NodeId] for one topic.