view.windowFrame = is_osx ? #extended : #solid; var body; var connections = []; var show_chat = false; class Body: Reactor.Component { this var cur = 0; function this() { body = this; } function render() { if (connections.length == 0) return
; var c = connections[this.cur]; this.connection = c; this.cid = c.id; var auth = c.authorized; var me = this; var callback = function(msg) { me.sendMsg(msg); }; self.timer(1ms, adaptSize); var right_style = show_chat ? "" : "display: none"; return