diff options
author | Louis Brauer <louis@openbooking.ch> | 2024-05-31 00:30:37 +0200 |
---|---|---|
committer | Louis Brauer <louis@openbooking.ch> | 2024-05-31 00:30:37 +0200 |
commit | c3bcb2bd3b354bb05997347821a37506ca6cc298 (patch) | |
tree | 83e10ba950cc52c0c3e75b23ea5c5b9827020c85 /doc/snac.5 | |
parent | af8f1ef273e457318cb48f198e73c59e57373723 (diff) |
Implement instance announcements
Diffstat (limited to 'doc/snac.5')
-rw-r--r-- | doc/snac.5 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -121,6 +121,14 @@ rejected. This brings the flexibility and destruction power of regular expressio to your Fediverse experience. To be used wisely (see .Xr snac 8 for more information). +.It Pa announcement.txt +If this file is present, an announcement will be shown to logged in users +on every page with its contents. It is also available through the Mastodon API. +Users can dismiss the announcement, which works by storing the modification time +in the "last_announcement" field of the +.Pa user.json +file. When the file is modified, the announcement will then reappear. It can +contain only text and will be ignored if it has more than 2048 bytes. .El .Pp Each user directory is a subdirectory of |