Exemplo n.º 1
0
Arquivo: rooms.py Projeto: 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)
     
Exemplo n.º 2
0
Arquivo: rooms.py Projeto: 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)