Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-02 | All jobs: Drop ConnectionData parameter from the constructor | Kitsune Ral | |
Having to pass ConnectionData to each and every job class was nothing but boilerplate since the very beginning. Removing it required to prepend BaseJob::start() with ConnectionData-setting code, and to provide a way to alter the request configuration depending on the (late-coming) ConnectionData object. This is a new responsibility of BaseJob::start(); the previous BaseJob::start() contents have moved to BaseJob::sendRequest() (which is now invoked on retries, instead of start()). | |||
2017-07-22 | SendEventJob: Fixed empty transaction id's | Kitsune Ral | |
2017-06-27 | Enable sending RoomMessageEvents | Kitsune Ral | |
1. PostMessageJob is now SendEventJob, which reflects two things: first, it's a PUT instead of a POST (POST for /send is not supported by the latest spec anyway), so that we could enable tracking transaction ids for local echo in the near future; second, it's no more just about messages, the job can support sending any room events (topic changes etc.). 2. Room::postMessage() now uses the new RoomMessageEvent API to send m.room.message events. |