summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/apps/room/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index f773ba5..66d13cc 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -280,6 +280,8 @@ def user_rooms(request):
for r in Room.objects.filter(creator=request.user).all():
if (not r.sco_id in ar): # and (not r.self_cleaning): #XXX this logic isn't right!
+ for t in Tag.objects.get_for_object(r):
+ t.delete()
r.delete()
for r in user_rooms: