Compare commits

...

4 Commits

4 changed files with 60 additions and 1 deletions

View File

@ -23,3 +23,4 @@ repos:
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]

@ -1 +1 @@
Subproject commit 448ba43b462d1fbca6eeee21fd27dcea8e1dfb72
Subproject commit 0199acd570ac64bf2095f19d8c6d41dd815fcd8c

12
doctoc.txt Normal file
View File

@ -0,0 +1,12 @@
# A quick note on doctoc where I can find it
- https://github.com/thlorenz/doctoc
For pre-commit configuration see `./.pre-commit-config.yaml`
To enable it at a specific position, throw in:
<!-- START doctoc -->
<!-- END doctoc -->
# vim: filetype=markdown

View File

@ -0,0 +1,46 @@
# hookshot room state configuration
When Hookshot is configured via the manage integrations menu, it appears to
perform two state installations/directories/whatever:
- `uk.half-shot.matrix-hookshot.feed`
- contains state events with the feed name
- contains the json below
- `io.element.integrations.installations`
- contains uuid below
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [feed](#feed)
- [installation](#installation)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
--
## feed
This entry is the feed url e.g.
`https://feeds.yle.fi/uutiset/v1/recent.rss?publisherIds=YLE_NEWS`, and
contains:
```json
{
"label": "YLE News in English",
"url": "https://feeds.yle.fi/uutiset/v1/recent.rss?publisherIds=YLE_NEWS"
}
```
## installation
This probably has or should be left for the integration manager.
```json
{
"appId": "hookshot-feeds",
"installationId": "uuid-goes-here",
"userIds": ["@feeds:integrations.ems.host"],
"widgetIds": []
}
```