Closed Glavin001 closed 10 years ago
Currently atom-gitter requests all of the rooms the user has joined and then checks to see if one of those is the room we wish to join.
atom-gitter
// Iterate over all rooms var room = _.find(rooms, function(room) { // Find REPO room with correct URI //console.log(room, uri); if (room.githubType === "REPO" && room.uri === uri) { return true; } else { return false; } });
https://developer.gitter.im/docs/rooms-resource
Instead, we should simply join the room with the given URI first.
Currently
atom-gitter
requests all of the rooms the user has joined and then checks to see if one of those is the room we wish to join.https://developer.gitter.im/docs/rooms-resource
Instead, we should simply join the room with the given URI first.