]> git.parisson.com Git - teleforma.git/commitdiff
fix bad room name
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 16 Apr 2012 20:34:46 +0000 (22:34 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 16 Apr 2012 20:34:46 +0000 (22:34 +0200)
teleforma/views.py

index 6fbda89b59506a725b803545a153bcf75b102e22..67ea464249efca6850772ad88ce2f0df626eac16 100755 (executable)
@@ -83,7 +83,7 @@ def document_view(request, pk):
 
 def get_room(content_type=None, id=None, name=None):
     rooms = jqchat.models.Room.objects.filter(content_type=content_type,
-                                                object_id=id, name=name)
+                                                object_id=id)
     if not rooms:
         room = jqchat.models.Room.objects.create(content_type=content_type,
                                           object_id=id,