aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-02-01 14:06:18 +0000
committerDrew DeVault <sir@cmpwn.com>2022-02-07 17:04:32 +0100
commit72e1b0e8f994e2e83f37a03e8bf4db979f39df57 (patch)
tree4c357a0aa9aaa75b2afc70719192e2ec4d810dec
parentae28f0ae3ffe5dacadda4742c545b8d91dc6a716 (diff)
downloadsr.ht-docs-72e1b0e8f994e2e83f37a03e8bf4db979f39df57.tar.gz
chat.sr.ht/bouncer-usage: add section about chat history
Describe how the chathistory extension can be used to fetch logs.
-rw-r--r--chat.sr.ht/bouncer-usage.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/chat.sr.ht/bouncer-usage.md b/chat.sr.ht/bouncer-usage.md
index 626ab9c..215dbfa 100644
--- a/chat.sr.ht/bouncer-usage.md
+++ b/chat.sr.ht/bouncer-usage.md
@@ -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.