Skip to content

Commit adc3a0d

Browse files
committed
Removed unnecessary debugging
2 parents d375c94 + 4e0055b commit adc3a0d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/importer-slack/server/importer.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -563,12 +563,8 @@ export class SlackImporter extends Base {
563563
Meteor.call('saveRoomSettings', 'GENERAL', 'roomName', channel.name);
564564
}
565565

566-
if (!channel.fname) {
567-
channel.fname = channel.name;
568-
}
569-
570566
channel.rocketId = channel.is_general ? 'GENERAL' : existingRoom._id;
571-
Rooms.update({ _id: channel.rocketId }, { $set: { fname: channel.name}, $addToSet: { importIds: channel.id } });
567+
Rooms.update({ _id: channel.rocketId }, { $addToSet: { importIds: channel.id } });
572568
} else {
573569
const users = this._getChannelUserList(channel);
574570
const userId = this.getImportedRocketUserIdFromSlackUserId(channel.creator) || startedByUserId;

0 commit comments

Comments
 (0)