plugable-matrix-bot/matrix_bot_api/custom_matrix_client/room.py
Dennis 9e139a0f3e Add custom Matrix Python SDK. Solves #5 and #2
This commit releases a custom Matrix Python SDK. This means that the
most important classes---MatrixClient, Room, and MatrixHttpApi---are
inherited by Custom classes. This enables us to change behaviour or add
new features in a well structured and predictable way.

The first issue that is solved with this new custom SDK is the problem
that was introduced in #2.
2019-01-20 00:41:02 +01:00

7 lines
145 B
Python

from matrix_client.room import Room
class CustomRoom(Room):
def __init__(self, client, room_id):
super().__init__(client, room_id)