Commit Graph

15 Commits

Author SHA1 Message Date
Gergely Polonkai e77e6473b8 Update Matrix.API to comply with the current spec 2017-10-28 07:59:14 +02:00
Gergely Polonkai 21ee03d030 Fix matrix_http_api_set_base_url()
It didn’t save the actual base URL.
2016-03-20 14:25:27 +00:00
Gergely Polonkai 4ce4ae4641 Add save_state() and load_state() to Client 2016-03-20 12:39:46 +00:00
Gergely Polonkai 161c171144 Rename API.send_message_event and API.send_room_event
This is to avoid confusion.

* send_message_event became send_event
* send_room_event became send_state_event
2016-03-18 22:07:46 +00:00
Gergely Polonkai cf53bfa686 Rename Matrix.API.set_user_presence to set_presence
This is to keep consistency
2016-03-18 17:18:28 +01:00
Gergely Polonkai 8d725d9f34 Patch up Matrix.HTTPAPI constructor
It now includes a refresh_token parameter, and has a documentation.
2016-03-18 17:05:18 +01:00
Gergely Polonkai c9465dc1c0 Move from using Lists to arrays 2016-03-17 10:04:26 +00:00
Gergely Polonkai 04950f8c34 Rename Matrix.API.get_user_presence() to get_presence()
This is for not to clash with future Matrix.Client.get_user_presence()
and to comply with Matrix.API.get_profile() which has similar
functionality.
2016-03-14 23:09:09 +00:00
Gergely Polonkai 70dfaff080 Move Event types to the Matrix.Event namespace 2016-03-07 16:38:19 +01:00
Gergely Polonkai 97a075d2d2 Fix debug output in HTTPAPI._send() 2016-03-07 09:51:59 +01:00
Gergely Polonkai f37d90e468 Wrap debug messages in Config.DEBUG checks 2016-03-05 07:36:07 +00:00
Gergely Polonkai 1bfd8906b6 Redesign MatrixStateEvent as a GObject 2016-03-04 14:35:00 +01:00
Gergely Polonkai ec8f51bced Add search functionality to Matrix API 2016-03-04 14:35:00 +01:00
Gergely Polonkai a8da282d0b Rework StateEvent in Vala 2016-03-04 14:00:06 +01:00
Gergely Polonkai 7d5a10e282 Rework MatrixHTTPAPI in Vala 2016-03-04 14:00:06 +01:00