 							@addCountCompleted 1
 				@collection.update { _id: @channels._id }, { $set: { 'channels': @channels.channels }}
 
+				missedTypes = {}
 				@updateProgress Importer.ProgressStep.IMPORTING_MESSAGES
 				for channel, messagesObj of @messages
 					do (channel, messagesObj) =>

													#RocketChat.models.Messages.insert msgObj
													RocketChat.sendMessage @getRocketUser(message.user), msgObj, room
										@addCountCompleted 1

				@updateProgress Importer.ProgressStep.FINISHING
				for channel in @channels.channels when channel.do_import and channel.is_archived
					do (channel) =>

															ts: new Date(parseInt(message.ts.split('.')[0]) * 1000)
												else if message.subtype is 'me_message'
													RocketChat.sendMessage @getRocketUser(message.user), { msg: '_' + @convertSlackMessageToRocketChat(message.text) + '_', ts: new Date(parseInt(message.ts.split('.')[0]) * 1000) }, room
												else if message.subtype is 'bot_message'
													RocketChat.sendMessage
												else
													if not missedTypes[message.subtype]
														missedTypes[message.subtype] = message
											else
												user = @getRocketUser(message.user)
												if user?
