mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Assume first message sent by host is a telepath document
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user