Example #1
0
File: rooms.py Project: drew/seddit
 def GET(self, room):
     room = rooms.getroom(room)
     allthreads = threads.forroom(room.id)
     person = auth.getuser()
     
     print config.base.layout(view.threads(room, allthreads), person)
     
Example #2
0
File: rooms.py Project: drew/seddit
    def GET(self, room):
        room = rooms.getroom(room)
        transcript = threads.threadtranscript(room.thread_id)
        person = auth.getuser()
        recent = threads.getrecent(person.id, limit=2)

        print config.base.thread(view.lobby(transcript.thread, transcript.messages, person), recent)