Table of Contents

  1. Active Status

#Active Status

Twig metadata which indicates whether or not a user is online. Field specification in spec.toml.


An 'active status' message is designed to be sent as 'active' when a user connects to a forest, with the client sending an 'inactive' message upon exit. This minimizes the number of messages sent by the client. In case of unclean exits however, it is generally used in combination with expiration. E.g. send an active status message that is "live" for 5 minutes during client startup and every consecutive 5 minutes. In this case it is still recommended to send an "inactive" message during client shutdown/disconnect.

Active Status messages should also be invisible.

It is up to the client to keep a running map of users that have un-expired "active" messages to determine who is online. An example of one solution to this can be found in forest-ex.

About this wiki

commit bc5691fbee23d4933ced1ba734db739aad833611
Author: Chris Waldon <christopher.waldon.dev@gmail.com>
Date:   2021-10-27T15:59:49-04:00

content: fix self hosting guide

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
Clone this wiki
https://git.sr.ht/~whereswaldon/arborchat (read-only)
git@git.sr.ht:~whereswaldon/arborchat (read/write)