pub const DEFAULT_RETENTION: usize = 5000;Expand description
How many messages one channel or conversation keeps before the oldest are dropped.
The cap applies the same way to live traffic and to history backfill. The reference client trims only when merging history, so how much scrollback a channel holds depends on whether it ever ran a history request.