Updated feedback api docs and fixed feedback content template bug

This commit is contained in:
Kegan Dougal 2014-09-03 13:08:17 +01:00
parent dfea1730dc
commit cd0afb85c4
2 changed files with 11 additions and 2 deletions

View File

@ -640,6 +640,16 @@
"Feedback": { "Feedback": {
"id": "Feedback", "id": "Feedback",
"properties": { "properties": {
"target_event_id": {
"type": "string",
"description": "The event ID being acknowledged.",
"required": true
},
"type": {
"type": "string",
"description": "The type of feedback. Either 'delivered' or 'read'.",
"required": true
}
} }
}, },
"Member": { "Member": {

View File

@ -103,8 +103,7 @@ class FeedbackEvent(SynapseEvent):
def get_content_template(self): def get_content_template(self):
return { return {
"type": u"string", "type": u"string",
"target_event_id": u"string", "target_event_id": u"string"
"msg_sender_id": u"string"
} }