Skip to main content

EMPTY_INVITE_STATE

Constant EMPTY_INVITE_STATE 

Source
pub(super) const EMPTY_INVITE_STATE: &[u8] = b"[]";
Expand description

Length floor for an invite whose stripped state holds no events.

mark_as_invited below stores the state as JSON, so a row longer than the empty array carries at least one event. has_invite_state probes against this length, so a change to the value codec here moves that floor.