diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-26 17:50:28 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-26 17:50:28 +0100 |
commit | 5dd8087ea41fce6a9153d7b275c752bd3e409592 (patch) | |
tree | 8ccec4c3752deede87488a29d73db238bcfa9087 /synapse/storage/feedback.py | |
parent | Merge branch 'client_server_url_rename' into develop (diff) | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into client_server_ur... (diff) | |
download | synapse-5dd8087ea41fce6a9153d7b275c752bd3e409592.tar.xz |
Merge branch 'client_server_url_rename' into develop
Diffstat (limited to 'synapse/storage/feedback.py')
-rw-r--r-- | synapse/storage/feedback.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/feedback.py b/synapse/storage/feedback.py index cdc6670116..513b72d279 100644 --- a/synapse/storage/feedback.py +++ b/synapse/storage/feedback.py @@ -23,9 +23,9 @@ class FeedbackStore(SQLBaseStore): def _store_feedback(self, event): return self._simple_insert("feedback", { "event_id": event.event_id, - "feedback_type": event.feedback_type, + "feedback_type": event.content["type"], "room_id": event.room_id, - "target_event_id": event.target_event, + "target_event_id": event.content["target_event_id"], "sender": event.user_id, }) |