We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d375c94 + 4e0055b commit adc3a0dCopy full SHA for adc3a0d
app/importer-slack/server/importer.js
@@ -563,12 +563,8 @@ export class SlackImporter extends Base {
563
Meteor.call('saveRoomSettings', 'GENERAL', 'roomName', channel.name);
564
}
565
566
- if (!channel.fname) {
567
- channel.fname = channel.name;
568
- }
569
-
570
channel.rocketId = channel.is_general ? 'GENERAL' : existingRoom._id;
571
- Rooms.update({ _id: channel.rocketId }, { $set: { fname: channel.name}, $addToSet: { importIds: channel.id } });
+ Rooms.update({ _id: channel.rocketId }, { $addToSet: { importIds: channel.id } });
572
} else {
573
const users = this._getChannelUserList(channel);
574
const userId = this.getImportedRocketUserIdFromSlackUserId(channel.creator) || startedByUserId;
0 commit comments