 								type: room.t
 								name: room.name
 
+				if userIdsToPushNotify.length > 0
 					if Push.enabled is true
 						Push.send
 							from: 'push'

								type: room.t
								name: room.name
							query:
								userId: $in: userIdsToNotify

		###
		Update all other subscriptions to alert their owners but witout incrementing

					# the mentioned user if mention isn't for all
					RocketChat.models.Subscriptions.incUnreadForRoomIdAndUserIds message.rid, mentionIds, 1

				# Get ids of all mentioned users.
				userIdsToNotify = _.pluck(usersOfMention, '_id')
				userIdsToPushNotify = userIdsToNotify

				# If the message is @all, notify all room users except for the sender.
				if toAll and room.usernames?.length > 0
					usersOfRoom = RocketChat.models.Users.find({
							username: {$in: room.usernames},
							_id: {$ne: user._id}},
						{fields: {_id: 1, username: 1, status: 1}})
						.fetch()
					onlineUsersOfRoom = _.filter usersOfRoom, (user) ->
						user.status in ['online', 'away', 'busy']
					userIdsToNotify = _.union userIdsToNotify, _.pluck(onlineUsersOfRoom, '_id')
					userIdsToPushNotify = _.union userIdsToPushNotify, _.pluck(usersOfRoom, '_id')

				if userIdsToNotify.length > 0
					for usersOfMentionId in userIdsToNotify
