A plugin-based Matrix bot system.
Go to file
Joe Groocock b0bd20ea7f
Don't update displayname/avatar when unset
Avoid sending no-op updates to the homeserver when there is no
displayname or avatar_url set. The database stores these as empty
strings, but the homeserver returns them as None, so when compared they
appear different and permit an update.

This is a workaround that should fix https://github.com/maubot/maubot/issues/235
by coercing empty strings that are stored in the database to/from
null/None values during saves/loads.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-04-22 22:15:16 +00:00
.github/workflows Update CI and pre-commit 2024-03-07 16:25:23 +02:00
docker Update mautrix-python 2023-09-06 22:03:01 +03:00
examples Add missing file 2022-03-27 20:05:34 +03:00
maubot Don't update displayname/avatar when unset 2024-04-22 22:15:16 +00:00
.dockerignore Remove .md files from .dockerignore 2020-07-12 18:06:31 +03:00
.editorconfig Add changelog in a file 2022-03-25 20:51:44 +02:00
.gitignore Update .gitignore 2024-03-30 23:37:07 +02:00
.gitlab-ci-plugin.yml Add GitLab CI file used by all plugins 2022-06-19 14:23:06 +03:00
.gitlab-ci.yml Update dependencies and alpine 2022-12-31 02:28:10 +02:00
.pre-commit-config.yaml Update CI and pre-commit 2024-03-07 16:25:23 +02:00
CHANGELOG.md Update changelog again 2024-03-30 23:36:54 +02:00
dev-requirements.txt Update CI and pre-commit 2024-03-07 16:25:23 +02:00
Dockerfile Update Pillow in docker image 2023-09-19 13:23:24 -04:00
Dockerfile.ci Update pillow in CI dockerfile too 2023-09-19 13:28:08 -04:00
LICENSE Initial commit 2018-06-14 01:41:05 +03:00
MANIFEST.in Add changelog in a file 2022-03-25 20:51:44 +02:00
optional-requirements.txt Add a testing framework 2023-12-05 11:26:10 +01:00
pyproject.toml Update CI and pre-commit 2024-03-07 16:25:23 +02:00
README.md Update plugin list link 2024-03-10 17:10:41 +02:00
requirements.txt Update Pillow in docker image 2023-09-19 13:23:24 -04:00
setup.py Add a testing framework 2023-12-05 11:26:10 +01:00

maubot

Languages License Release GitLab CI Code style Imports

A plugin-based Matrix bot system written in Python.

Documentation

All setup and usage instructions are located on docs.mau.fi. Some quick links:

Discussion

Matrix room: #maubot:maunium.net

Plugins

A list of plugins can be found at plugins.mau.bot.

To add your plugin to the list, send a pull request to https://github.com/maubot/plugins.maubot.xyz.

The plugin wishlist lives at https://github.com/maubot/plugin-wishlist/issues.