Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/protocol/e2e/typing_indicator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ pub struct InvalidTypingIndicatorValue(pub u8);
/// A typing indicator message.
///
/// Contains a single byte indicating whether the contact is typing or not.
///
/// Note: While active, typing indicators should be re-sent every 10s. When no
/// typing indicator message is received for 15s, the clients will stop showing
/// the typing status.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct TypingIndicatorMessage {
/// The typing indicator status
Expand Down