diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-26 18:57:55 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-26 18:57:55 +0100 |
commit | 93cff1668c5e42d45a8393a1ac59173c8101b375 (patch) | |
tree | b20e984d79e5bc59fedbfac335c97fe349404b14 /synapse/storage | |
parent | WIP: Completely change how event streaming and pagination work. This reflects... (diff) | |
parent | Pepper UT TODOs (diff) | |
download | synapse-93cff1668c5e42d45a8393a1ac59173c8101b375.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor
Diffstat (limited to 'synapse/storage')
-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, }) |