summaryrefslogtreecommitdiff
path: root/doc/source/plugins
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-02-09 22:47:38 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-02-10 01:45:37 +0100
commitd35c0564b3f5dd10f6e23bf462bbfabd3084e486 (patch)
tree4354ccef627717e05ea4cf8abea50ab1f105b58a /doc/source/plugins
parent9735b6d6dc5ff6b5d577d2ba7511d74a9de99f38 (diff)
downloadpoezio-d35c0564b3f5dd10f6e23bf462bbfabd3084e486.tar.gz
poezio-d35c0564b3f5dd10f6e23bf462bbfabd3084e486.tar.bz2
poezio-d35c0564b3f5dd10f6e23bf462bbfabd3084e486.tar.xz
poezio-d35c0564b3f5dd10f6e23bf462bbfabd3084e486.zip
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.
Diffstat (limited to 'doc/source/plugins')
-rw-r--r--doc/source/plugins/index.rst6
-rw-r--r--doc/source/plugins/sticker.rst6
2 files changed, 12 insertions, 0 deletions
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 <sticker-plugin>`
+
+ Opens a graphical sticker picker and sends the selected one.
+
Tell
:ref:`Documentation <tell-plugin>`
@@ -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