mirror of
https://github.com/atom/atom.git
synced 2026-02-01 18:25:06 -05:00
Trigger participants-changed in guest session
This commit is contained in:
@@ -19,6 +19,8 @@ class GuestSession
|
||||
doc = telepath.Document.deserialize(data, site: telepath.createSite(@getId()))
|
||||
atom.windowState = doc.get('windowState')
|
||||
@participants = doc.get('participants')
|
||||
@participants.on 'changed', =>
|
||||
@trigger 'participants-changed', @participants.toObject()
|
||||
connectDocument(doc, connection)
|
||||
|
||||
@trigger 'started'
|
||||
|
||||
Reference in New Issue
Block a user