You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Trellis, we're doing this to update our user's peer name:
updatePeerName(value){aMPL.config.name=valuelocalStorage.setItem("peerName",value)// Force network reconnectthis.props.store.dispatch({type: "OPEN_DOCUMENT",file: this.props.store.save()})}
It sets the shared config on aMPL, and then re-opens the current document as a hacky way of getting the network to reconnect and update all of our listeners in the omniview sidebar. It works for now, but something breaks if you change your peer name too many times too quickly.
The text was updated successfully, but these errors were encountered:
In Trellis, we're doing this to update our user's peer name:
It sets the shared config on aMPL, and then re-opens the current document as a hacky way of getting the network to reconnect and update all of our listeners in the omniview sidebar. It works for now, but something breaks if you change your peer name too many times too quickly.
The text was updated successfully, but these errors were encountered: