]> git.parisson.com Git - teleforma.git/commitdiff
fix rooms
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 23 Aug 2013 19:27:35 +0000 (21:27 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 23 Aug 2013 19:27:35 +0000 (21:27 +0200)
teleforma/views/core.py

index 1bf845667213a05bfe442165a4a77c489cf6f4ce..dfe27c64e00b13996fed6bec37b6a4c9d1b101b4 100644 (file)
@@ -129,7 +129,7 @@ def get_room(content_type=None, id=None, name=None, period=None):
     if not rooms:
         room = jqchat.models.Room.objects.create(content_type=content_type,
                                                  object_id=id,
-                                                 name=name[:20])
+                                                 name=name)
     else:
         room = rooms[0]
     return room