mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 20:02:12 +00:00
Updated feedback api docs and fixed feedback content template bug
This commit is contained in:
parent
dfea1730dc
commit
cd0afb85c4
@ -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": {
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user