Commit Graph

169 Commits

Author SHA1 Message Date
Andrew Morgan 385f072fe9
Merge pull request #57 from matrix-org/anoa/go_1_10
Bump minimum go version to 1.10
2019-01-30 13:01:40 +00:00
Andrew Morgan 2c47a0c609 gofmt is different between go versions and makes everything break 2019-01-30 12:20:48 +00:00
Andrew Morgan c3f65ede3b gofmt 2019-01-30 11:59:03 +00:00
Andrew Morgan 2e135b1860 Fix responses uncommented field 2019-01-30 11:32:41 +00:00
Andrew Morgan d0a3393bc9 Fix go version 2019-01-29 18:47:24 +00:00
Andrew Morgan 544fff6a0f Bump minimum go version to 1.10 2019-01-29 17:53:14 +00:00
DzananGanic b8d1540599 fixed wrong json tag for RespUserInteractive Session param 2018-12-13 13:23:14 +01:00
Travis Ralston 4f8f762583 Expose `unsigned` on events
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-07-06 21:26:17 -06:00
Wim eb6a57bae9 Add Redacts key (m.room.redaction event) (#43) 2018-05-11 16:52:41 +01:00
Thibaut CHARLES 76dfc7718a Added default filter values & filter validation (#46)
Signed-off-by: Thibaut CHARLES cromfr@gmail.com
2018-05-09 13:37:21 +01:00
26000 072b39f7fa Fix InviteUser (#49) 2018-05-09 09:42:41 +01:00
Jan Christian Grünhage a7fc80c806 Add filter struct (#42) 2017-10-03 12:38:48 +01:00
Kegsay 9b757298e3 Merge pull request #39 from MTRNord/patch-2
Fix timestamp being too large for int
2017-08-25 11:11:39 +01:00
Kegsay c267fe0aaf Merge pull request #37 from MTRNord/patch-1
Add GetDisplayName() method
2017-08-25 11:01:05 +01:00
Marcel e98d37640a Make gofmt happy 2017-08-25 01:18:57 +02:00
Marcel 11ade4797f Fix timestamp being too large for int
Signed-off by Marcel Radzio <mtrnord1@gmail.com>
2017-08-25 01:14:47 +02:00
MTRNord f6ce5f65b5 Add helper function GetOwnDisplayName() 2017-08-22 21:44:21 +02:00
MTRNord 3e76370297 Move method HasSingleStageFlow() back to the corresponding struct 2017-08-22 21:41:15 +02:00
MTRNord fc56cbf80a Add GetDisplayName() command 2017-08-22 20:21:53 +02:00
Marcel fdea86cdb9 Add RespUserDisplayName 2017-08-22 20:13:42 +02:00
Kegsay 1ed3413986 Merge pull request #29 from t3chguy/t3chguy/add_GET_voip_turnServer
add `GET /_matrix/client/r0/voip/turnServer`
2017-06-26 10:23:41 +01:00
Kegsay cb69d2b689 Merge pull request #28 from Dhole/master
In /messages: Fix Messages argument parsing
2017-06-26 10:22:33 +01:00
Mark Haines 8482707094 Merge pull request #30 from matrix-org/markjh/pre-commit
Add misspell and ineffassign to the pre-commit hooks
2017-06-12 19:53:02 +01:00
Mark Haines 6f5f4de2eb Remove unneed dependencies from travis.yml 2017-06-12 19:44:56 +01:00
Mark Haines af759cbc2b Add a .travis.yml 2017-06-12 19:42:48 +01:00
Mark Haines 735a423c76 Add misspell and ineffassign to the pre-commit hooks 2017-06-12 19:37:49 +01:00
Michael Telatynski df70a4461f
add `GET /_matrix/client/r0/voip/turnServer`
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-06-07 14:13:03 +01:00
Dhole af80fb148a Fix Messages argument parsing 2017-05-29 14:01:42 -07:00
Richard Lewis 27ae91d1b3 Merge pull request #27 from matrix-org/rxl881/videoMessages
Omit empty fields on ImageInfo and VideoInfo structs
2017-05-11 15:02:20 +01:00
Richard Lewis 087ee52a0f Omit empty fields on ImageInfo and VideoInfo structs 2017-05-11 14:26:09 +01:00
Richard Lewis 462346e69d Merge pull request #26 from matrix-org/videos
SendImage and SendVideo convenience functions
2017-05-08 13:59:41 +01:00
Richard Lewis d43f7960c7 Fix merge conflicts 2017-05-08 13:57:04 +01:00
Richard Lewis 03e22de5e5 Merge pull request #25 from matrix-org/rxl881/sendMessages
Add convenience function to send a room message of type send.notice
2017-05-08 13:45:52 +01:00
Kegsay 80113e0369 Merge pull request #24 from Dhole/master
Add /messages API
2017-05-08 13:18:39 +01:00
Richard Lewis 43492b703b Add convenience function to send a room message of type send.notice 2017-05-08 11:29:23 +01:00
Richard Lewis 8132e161ec Add links to docs. 2017-05-08 11:23:22 +01:00
Richard Lewis 63c361cb61 Fix function signature 2017-05-08 10:57:04 +01:00
Dhole 556e9529c0 Add /messages API 2017-05-06 21:21:07 -07:00
Richard Lewis 1b68efa395 Merge pull request #22 from matrix-org/typing
Implement typing notifications
2017-05-02 18:00:36 +01:00
Richard Lewis 4bc46014ae Functions to send basic image and video events 2017-04-25 11:02:33 +01:00
Richard Lewis 4da59c5538 Typing notifications 2017-04-25 10:11:59 +01:00
Richard Lewis 58a74a618e Merge pull request #21 from matrix-org/rxl881/leaveEvents
Handle leave events
2017-04-20 21:36:33 +01:00
Richard Lewis c7bec461cd Check that StateKey is not nil / null 2017-04-20 21:29:44 +01:00
Richard Lewis 06ec893403 Check that event is a state event. 2017-04-20 14:41:29 +01:00
Richard Lewis 7e21d59dca Handle leave events 2017-04-20 00:19:23 +01:00
Richard Lewis f683c3da34 Merge pull request #20 from matrix-org/rxl881/errorLogging
Log response body when content upload fails
2017-02-20 18:01:16 +00:00
Richard Lewis 07fa859cf3 Removed logging and fixed formatting 2017-02-20 16:18:18 +00:00
Richard Lewis 3c91bb314d Log response body when content upload fails 2017-02-20 14:45:37 +00:00
Richard Lewis 812dcb5515 Merge pull request #19 from matrix-org/rxl881/get_avatar
Added function to get a user's avatar URL
2017-02-17 11:53:43 +00:00
Richard Lewis b8c578e6fb Cleanup cruft 2017-02-16 13:52:55 +00:00