MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / _onRoomUserAdded

Function _onRoomUserAdded

app/controllers/index.js:38–44  ·  view source on GitHub ↗
(event, data)

Source from the content-addressed store, hash-verified

36 },
37
38 _onRoomUserAdded(event, data) {
39 const { you } = this;
40
41 if (you.get('uuid') !== data.uuid) {
42 this._addPeer(data);
43 }
44 },
45
46 _addPeer(attrs) {
47 const peerAttrs = attrs.peer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected