Skip to content

five-on-it / apps/client/src/ui/social-view / shownEntries

Function: shownEntries() ​

shownEntries(log, muted, open, now): ChatEntry[]

Defined in: apps/client/src/ui/social-view.ts:111

The lines on screen: every line but a muted player's while the chat is open; closed, only those younger than CLOSED_MS, the last CLOSED_LINES at most. The room's own lines are nobody's to mute.

Parameters ​

log ​

readonly ChatEntry[]

muted ​

ReadonlySet<string>

open ​

boolean

now ​

number

Returns ​

ChatEntry[]