Error updating thread fixed.
This commit is contained in:
parent
1bd079ae74
commit
eae7220651
@ -107,7 +107,7 @@ def update(request):
|
|||||||
if subscriber.user.name not in newSubscribers:
|
if subscriber.user.name not in newSubscribers:
|
||||||
thread.subscribers.remove(subscriber)
|
thread.subscribers.remove(subscriber)
|
||||||
else:
|
else:
|
||||||
newSubscribers.remove(subscriber.name)
|
newSubscribers.remove(subscriber.user.name)
|
||||||
subscriber.read = False
|
subscriber.read = False
|
||||||
for j in newSubscribers:
|
for j in newSubscribers:
|
||||||
subscriber = Subscriber(user_id=User.by_name(j).id, read=False)
|
subscriber = Subscriber(user_id=User.by_name(j).id, read=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user