Luke Barnard
fa3387b326
Code review
...
- use an empty state key
- swap switch for if
- s/not in view/not visible/
2016-09-06 10:29:38 +01:00
Luke Barnard
310e6602ca
Fix ref to dispatcher
2016-09-05 15:24:05 +01:00
Luke Barnard
efccdab0ad
Better error message for room not viewed
2016-09-05 15:16:22 +01:00
Luke Barnard
1c29c95990
Only current room works with postMessage
2016-09-05 15:13:48 +01:00
Luke Barnard
54f21c9acc
Expose join rules of a room
2016-09-05 14:58:16 +01:00
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