139837e997
* restructure realtime server for clarity * better indenting on signal.js * don't need it because socketioconnection is being imported now
6 lines
178 B
JavaScript
6 lines
178 B
JavaScript
|
|
module.exports = {
|
|
mapRoom: mapId => `maps/${mapId}`,
|
|
userMapRoom: (mapperId, mapId) => `mappers/${mapperId}/maps/${mapId}`,
|
|
userRoom: mapperId => `mappers/${mapperId}`
|
|
}
|