Assume first message sent by host is a telepath document

This commit is contained in:
Corey Johnson & Matt Colyer
2013-07-22 11:26:31 -07:00
parent 7b57c12f59
commit 034aaa2927

View File

@@ -24,7 +24,7 @@ class GuestSession
console.log 'connection opened'
@trigger 'connection-opened'
connection.on 'data', (data) =>
connection.once 'data', (data) =>
console.log 'received document', data
@trigger 'connection-document-received'
@createTelepathDocument(data, connection)