Commit af2e434171
Unsigned
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 | ||
| 46 | Use the same WeeChat API headers as the WeeChat binary that will load the | ||
| 47 | plugin. If WeeChat reports an API mismatch while loading `matrix.so`, rebuild | ||
| 48 | after installing the matching development package or setting | ||
| 49 | `WEECHAT_PLUGIN_FILE`. Set `WEECHAT_BUNDLED=1` only when you deliberately want | ||
| 50 | to build against the bundled fallback header, for example in a controlled test | ||
| 51 | or package build. | ||
| 52 | |||
| 46 | If `bindgen` reports that `stddef.h`, `libclang`, or `libLLVM` is missing, check | 53 | If `bindgen` reports that `stddef.h`, `libclang`, or `libLLVM` is missing, check |
| 47 | that the `clang` command-line tools, C/C++ compiler headers, and matching | 54 | that 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 |
| 49 | alone may not provide the compiler include paths that `bindgen` needs. | 56 | alone may not provide the compiler include paths that `bindgen` needs. |
| 57 | Use a coherent `clang`/`libclang`/`libLLVM` set from the same toolchain; copying | ||
| 58 | only one shared library from another package or SDK can leave `bindgen` loading | ||
| 59 | an incompatible LLVM library. | ||
| 50 | 60 | ||
| 51 | After the dependencies are installed the plugin can be compiled with: | 61 | After 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 | |||
| 200 | The `buffer_modes` bar item shows Matrix room state. Encrypted rooms show | ||
| 201 | `matrix-rust.look.encrypted_room_sign`; encrypted rooms that still contain | ||
| 202 | unverified devices also show `matrix-rust.look.encryption_warning_sign`. Public | ||
| 203 | rooms show `matrix-rust.look.public_room_sign`, and busy rooms show | ||
| 204 | `matrix-rust.look.busy_sign`. | ||
| 205 | |||
| 206 | Interactive verification requests can be accepted, confirmed, or cancelled from | ||
| 207 | the room or verification buffer: | ||
| 208 | |||
| 209 | /verification accept | ||
| 210 | /verification confirm | ||
| 211 | /verification cancel | ||
| 212 | |||
| 213 | The plugin renders in-room SAS verification requests and shows the emoji or | ||
| 214 | decimal short authentication string when it is ready. | ||
| 215 | |||
| 188 | # Matrix Spaces | 216 | # Matrix Spaces |
| 189 | 217 | ||
| 190 | Space buffers use a `+` prefix in their short name, while ordinary room buffers | 218 | Space 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 | ||
| 241 | Matrix rooms can belong to more than one Space. WeeChat buffers cannot be shown | ||
| 242 | as the same room under multiple server-like parents at the same time, so the | ||
| 243 | plugin exposes all known parent Spaces as metadata instead of moving room | ||
| 244 | buffers into a fake hierarchy. Matrix Space buffers use a `+` short-name prefix; | ||
| 245 | ordinary rooms keep the usual room/channel naming rules. | ||
| 246 | |||
| 213 | # Storage | 247 | # Storage |
| 214 | 248 | ||
| 215 | The plugin keeps Matrix state and encryption data in | 249 | The plugin keeps Matrix state and encryption data in |