Commit af2e434171

af2e4341718951a6308eb4873a72f646fb8fe834

parent: 944e4f25f5

Unsigned

Darafei Praliaskouski <me@komzpa.net> · 2026-07-26 09:23 UTC
committer: <strk@kbt.io>

docs: document build compatibility and Matrix capabilities

Layout: unified · split

README.md +34
@@ -43,10 +43,20 @@ path to that header:
43 43
44 export WEECHAT_PLUGIN_FILE=/usr/include/weechat/weechat-plugin.h 44 export WEECHAT_PLUGIN_FILE=/usr/include/weechat/weechat-plugin.h
45 45
46Use the same WeeChat API headers as the WeeChat binary that will load the
47plugin. If WeeChat reports an API mismatch while loading `matrix.so`, rebuild
48after installing the matching development package or setting
49`WEECHAT_PLUGIN_FILE`. Set `WEECHAT_BUNDLED=1` only when you deliberately want
50to build against the bundled fallback header, for example in a controlled test
51or package build.
52
46If `bindgen` reports that `stddef.h`, `libclang`, or `libLLVM` is missing, check 53If `bindgen` reports that `stddef.h`, `libclang`, or `libLLVM` is missing, check
47that the `clang` command-line tools, C/C++ compiler headers, and matching 54that the `clang` command-line tools, C/C++ compiler headers, and matching
48`libclang` package are installed. On minimal distributions the library package 55`libclang` package are installed. On minimal distributions the library package
49alone may not provide the compiler include paths that `bindgen` needs. 56alone may not provide the compiler include paths that `bindgen` needs.
57Use a coherent `clang`/`libclang`/`libLLVM` set from the same toolchain; copying
58only one shared library from another package or SDK can leave `bindgen` loading
59an incompatible LLVM library.
50 60
51After the dependencies are installed the plugin can be compiled with: 61After the dependencies are installed the plugin can be compiled with:
52 62
@@ -185,6 +195,24 @@ The inactivity delay defaults to five minutes and can be changed with:
185 195
186 /set matrix-rust.look.smart_filter_delay 300000 196 /set matrix-rust.look.smart_filter_delay 300000
187 197
198# Room Status And Verification
199
200The `buffer_modes` bar item shows Matrix room state. Encrypted rooms show
201`matrix-rust.look.encrypted_room_sign`; encrypted rooms that still contain
202unverified devices also show `matrix-rust.look.encryption_warning_sign`. Public
203rooms show `matrix-rust.look.public_room_sign`, and busy rooms show
204`matrix-rust.look.busy_sign`.
205
206Interactive verification requests can be accepted, confirmed, or cancelled from
207the room or verification buffer:
208
209 /verification accept
210 /verification confirm
211 /verification cancel
212
213The plugin renders in-room SAS verification requests and shows the emoji or
214decimal short authentication string when it is ready.
215
188# Matrix Spaces 216# Matrix Spaces
189 217
190Space buffers use a `+` prefix in their short name, while ordinary room buffers 218Space buffers use a `+` prefix in their short name, while ordinary room buffers
@@ -210,6 +238,12 @@ Remove that prefix again with:
210 238
211 /unset buflist.format.name 239 /unset buflist.format.name
212 240
241Matrix rooms can belong to more than one Space. WeeChat buffers cannot be shown
242as the same room under multiple server-like parents at the same time, so the
243plugin exposes all known parent Spaces as metadata instead of moving room
244buffers into a fake hierarchy. Matrix Space buffers use a `+` short-name prefix;
245ordinary rooms keep the usual room/channel naming rules.
246
213# Storage 247# Storage
214 248
215The plugin keeps Matrix state and encryption data in 249The plugin keeps Matrix state and encryption data in