diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-14 17:34:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-14 17:34:37 +0100 |
commit | 661c7117659118ed977f56a092525dbdae9dc67c (patch) | |
tree | 8284cb857d98c920bb66f70d504cf716d4a613c5 /synapse/storage/feedback.py | |
parent | Fix typo (diff) | |
download | synapse-661c7117659118ed977f56a092525dbdae9dc67c.tar.xz |
Start fixing places that use the data store.
Diffstat (limited to 'synapse/storage/feedback.py')
-rw-r--r-- | synapse/storage/feedback.py | 4 |
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 " |