Commit graph

9 commits

Author SHA1 Message Date
Kegan Dougal
c292312115 Send bot options with leading underscore on the state key
This is in order to get around the synapse rule which states that if the
state key is a user ID, then only that user can send the event. We want to
set the event for another user (the bot), hence we can't send just the plain
user ID.
2016-08-24 14:54:44 +01:00
Kegan Dougal
6235d88b55 Missing return 2016-08-24 14:10:21 +01:00
Kegan Dougal
73ba55abad s/then/done/ to throw uncaught exceptions if the error function throws 2016-08-24 13:47:35 +01:00
Kegan Dougal
dbff5f671e Add ability to query and set bot options
- Also standardise on 'success' as the key name for successes.
- Also return the entire `content` on get state event requests.
2016-08-24 13:23:06 +01:00
Kegan Dougal
ecc7850e13 Trailing ) 2016-08-23 14:50:52 +01:00
Kegan Dougal
1c649303e3 Consistency with sendResponse 2016-08-23 14:50:29 +01:00
Kegan Dougal
e96a40004b Review comments 2016-08-23 14:41:47 +01:00
Kegan Dougal
f6b008350d Spaces not tabs 2016-08-23 13:31:55 +01:00
Kegan Dougal
9162a0ff01 Add postMessage API required for integration provisioning
Supports querying member state and creating invites only.
2016-08-23 12:00:11 +01:00