Skip to content
Snippets Groups Projects
Commit 068c27f5 authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix comment for SendReply

parent 24eb354b
No related branches found
No related tags found
4 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!397Fully Decentralized channels,!340Project/channels
...@@ -636,15 +636,15 @@ func (cm *ChannelsManager) SendMessage(marshalledChanId []byte, ...@@ -636,15 +636,15 @@ func (cm *ChannelsManager) SendMessage(marshalledChanId []byte,
return constructChannelSendReport(chanMsgId, rnd.ID, ephId) return constructChannelSendReport(chanMsgId, rnd.ID, ephId)
} }
// SendReply is used to send a formatted message over a channel. // SendReply is used to send a formatted message over a channel. Due to the
// Due to the underlying encoding using compression, it isn't possible to define // underlying encoding using compression, it isn't possible to define the
// the largest payload that can be sent, but it will always be possible to send // largest payload that can be sent, but it will always be possible to send a
// a payload of 766 bytes at minimum. // payload of 766 bytes at minimum.
// //
// If the message ID that the reply is sent to does not exist, then the other // If the message ID the reply is sent to is nonexistent, the other side will
// side will post the message as a normal message and not a reply. // post the message as a normal message and not a reply. The message will auto
// The message will auto delete validUntil after the round it is sent in, // delete validUntil after the round it is sent in, lasting forever if
// lasting forever if ValidForever is used. // [channels.ValidForever] is used.
// //
// Parameters: // Parameters:
// - marshalledChanId - A JSON marshalled channel ID ([id.ID]). // - marshalledChanId - A JSON marshalled channel ID ([id.ID]).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment