Bugfix cache invalidation
This commit is contained in:
2
tasks.py
2
tasks.py
@@ -324,7 +324,7 @@ def invalidate_cache(activity):
|
||||
if activity.get_object().id.startswith(BASE_URL):
|
||||
DB.cache2.remove()
|
||||
elif activity.has_type(ap.ActivityType.ANNOUNCE):
|
||||
if activity.get_object.id.startswith(BASE_URL):
|
||||
if activity.get_object().id.startswith(BASE_URL):
|
||||
DB.cache2.remove()
|
||||
elif activity.has_type(ap.ActivityType.UNDO):
|
||||
DB.cache2.remove()
|
||||
|
Reference in New Issue
Block a user