Fix hard-coded lock names in event system to match new hierarchy.

This commit is contained in:
Griatch 2017-07-09 13:03:01 +02:00
parent 594500c4c7
commit be8452b1c7
4 changed files with 7 additions and 7 deletions

View file

@ -377,7 +377,7 @@ class ChannelDBManager(TypedObjectManager):
"""
clsname = subscriber.__dbclass__.__name__
if clsname == "AccountDB":
return subscriber.subscription_set.all()
return subscriber.account_subscription_set.all()
if clsname == "ObjectDB":
return subscriber.object_subscription_set.all()
return []