From d35c0564b3f5dd10f6e23bf462bbfabd3084e486 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 9 Feb 2022 22:47:38 +0100 Subject: Add a /sticker plugin This plugin currently uploads the selected sticker every time, to the HTTP File Upload service of the server (see XEP-0363), a future optimisation would be to use XEP-0231 instead, for better caching on the recipient side. It relies on a helper tool to select the wanted sticker inside the pack, a sample one is provided in tools/sticker-picker/, but it is not built by default. --- doc/source/plugins/index.rst | 6 ++++++ doc/source/plugins/sticker.rst | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 doc/source/plugins/sticker.rst (limited to 'doc') diff --git a/doc/source/plugins/index.rst b/doc/source/plugins/index.rst index 42578be8..c1222c84 100644 --- a/doc/source/plugins/index.rst +++ b/doc/source/plugins/index.rst @@ -211,6 +211,11 @@ Plugin index Adds convenient aliases to /status (/away, etc). + Sticker + :ref:`Documentation ` + + Opens a graphical sticker picker and sends the selected one. + Tell :ref:`Documentation ` @@ -342,6 +347,7 @@ Plugin index simple_notify spam status + sticker tell time_marker uptime diff --git a/doc/source/plugins/sticker.rst b/doc/source/plugins/sticker.rst new file mode 100644 index 00000000..815fb141 --- /dev/null +++ b/doc/source/plugins/sticker.rst @@ -0,0 +1,6 @@ +.. _sticker-plugin: + +Sticker +======= + +.. automodule:: sticker -- cgit v1.2.3