summary refs log tree commit diff
path: root/synapse/storage/feedback.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-14 17:34:37 +0100
committerErik Johnston <erik@matrix.org>2014-08-14 17:34:37 +0100
commit661c7117659118ed977f56a092525dbdae9dc67c (patch)
tree8284cb857d98c920bb66f70d504cf716d4a613c5 /synapse/storage/feedback.py
parentFix typo (diff)
downloadsynapse-661c7117659118ed977f56a092525dbdae9dc67c.tar.xz
Start fixing places that use the data store.
Diffstat (limited to 'synapse/storage/feedback.py')
-rw-r--r--synapse/storage/feedback.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/feedback.py b/synapse/storage/feedback.py
index dd5f3fbc10..e60f98d1e1 100644
--- a/synapse/storage/feedback.py
+++ b/synapse/storage/feedback.py
@@ -13,6 +13,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+from twisted.internet import defer
+
 from ._base import SQLBaseStore, Table
 from synapse.api.events.room import FeedbackEvent
 
@@ -31,7 +33,7 @@ class FeedbackStore(SQLBaseStore):
             "sender": event.user_id,
         })
 
-    @defer.inlineCallback
+    @defer.inlineCallbacks
     def get_feedback_for_event(self, event_id):
         sql = (
             "SELECT events.* FROM events INNER JOIN feedback "