python
python copied to clipboard
A Python 3 asyncio Matrix framework.
The config files are updated by swapping with new temp file, but this cause loss of the permissions information. This PR fixes it by copying the permissions to the new...
Mautrix uses [lazy membership loading](https://spec.matrix.org/latest/client-server-api/#lazy-loading-room-members), which causes synapse to oftentimes send state events to the client, that the client has already received. Upon reception of a state event, mautrix invalidates...
When doing a PEP 517 isolated build (e. g. when using `pdm install`), importing the project module normally is not possible. Instead, use importlib to load `__init__.py` directly and extract...
Fixes #164
Dendrite and whatsapp bridge (go lib) already support unix socket connection using the following config: ``` homeserver: address: unix:///var/snap/matrix/current/matrix.socket appservice: address: unix:///var/snap/matrix/current/telegram.socket hostname: /var/snap/matrix/current/telegram.socket ``` Is it possible with python...
I'm using `get_joined_members()` for a bot to determine if a room is a direct message. If multiple instances of the bot are running, I occasionally get this this error: ```...
Add support for the [relations](https://spec.matrix.org/v1.7/client-server-api/#get_matrixclientv1roomsroomidrelationseventid ) endpoint. Useful for getting all reactions to a message or all messages in a thread.
Hi, Currently mautrix does not check if the homeserver allows you to change the displayname, set the avatar... There is an API to check these [here](https://spec.matrix.org/latest/client-server-api/#capabilities-negotiation)
Some client API (application service) methods do not seem to have a way of doing timestamp massaging from within Mautrix methods. Some methods like `send_text`, `react` and `send_image` do accept...