MCPcopy Create free account
hub / github.com/codecombat/codecombat / onMeSynced

Method onMeSynced

app/lib/wsBus.js:153–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 async onMeSynced () {
154 console.log('me synced')
155 // this.ws.send('me synced') // ping to make sure server websocket has correct user id
156 if (this.connected) {
157 await this.resetWSInfos()
158 }
159 }
160
161 addFriend (id, { role = 'friend', online = false } = {}) {
162 const state = { role, online }

Callers

nothing calls this directly

Calls 2

resetWSInfosMethod · 0.95
logMethod · 0.80

Tested by

no test coverage detected