72e1b0e8f994e2e83f37a03e8bf4db979f39df57 — Simon Ser 3 months ago ae28f0a
chat.sr.ht/bouncer-usage: add section about chat history

Describe how the chathistory extension can be used to fetch logs.
1 files changed, 12 insertions(+), 0 deletions(-)

M chat.sr.ht/bouncer-usage.md
M chat.sr.ht/bouncer-usage.md => chat.sr.ht/bouncer-usage.md +12 -0
@@ 99,3 99,15 @@ channel update <name> -detached=<true|false>`.

Various configuration recommendations for third-party IRC clients are documented
here: [contrib/clients.md](https://git.sr.ht/~emersion/soju/tree/master/item/contrib/clients.md).

## Chat history logs

chat.sr.ht saves logs for all your discussions. Chat history can be fetched via
the [IRCv3 chathistory extension](https://ircv3.net/specs/extensions/chathistory).
For instance, the following command fetches the latest 100 messages sent to the
\#sr.ht channel:

    /quote CHATHISTORY LATEST #sr.ht * 100

To mirror logs locally, [chathistorysync](https://git.sr.ht/~emersion/chathistorysync)
can be used.