Skip to main content

Module nick

Module nick 

Source
Expand description

Nick stored on messenger_sessions. The HTTP layer stamps member display names from effective_label and refuses create/invite when require_nick fails. set_nick writes that session row. There is no reserved-nick list, no cooldown, and no billing. matrix_users.nick is not the source of truth.

Structs§

MessengerSession
A client session. The nick is this row. device_id is only a mark.
NickHit

Functions§

effective_label
Earliest session nick when one is set, otherwise the mxid localpart.
normalize_nick
require_nick
search_nicks
Case-insensitive substring search over session nicks. limited is true when more than limit rows matched.
set_nick
user_nick