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": {
"id": "Feedback",
"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": {

View file

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