Add support for desktop notifications (#192)

This commit is contained in:
Benjamin Grosse 2024-03-22 00:46:46 +00:00 committed by GitHub
parent c63f8d98d5
commit 0c52375e06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 845 additions and 30 deletions

View file

@ -85,6 +85,16 @@ overridden as described in *PROFILES*.
**message_user_color** (type: boolean)
> Defines whether or not the message body is colored like the username.
**notifications** (type: notifications object)
> Configures push-notifications, which are delivered as desktop
> notifications if available.
> *enabled* `true` to enable the feature, defaults to `false`.
> *show_message* to show the message in the desktop notification. Defaults
> to `true`. Messages are truncated beyond a small length.
> The notification _rules_ are stored server side, loaded once at startup,
> and are currently not configurable in iamb. In other words, you can
> simply change the rules with another client.
**image_preview** (type: image_preview object)
> Enable image previews and configure it. An empty object will enable the
> feature with default settings, omitting it will disable the feature.