 					t: 'rm'
 					ets: new Date()
 		else
-			RocketChat.Notifications.notifyRoom message.rid, 'deleteMessage', { _id: message._id }
+			RocketChat.Notifications.notifyRoom originalMessage.rid, 'deleteMessage', { _id: originalMessage._id }


		hasPermission = RocketChat.authz.hasPermission(Meteor.userId(), 'delete-message', message.rid)
		deleteAllowed = RocketChat.settings.get 'Message_AllowDeleting'
		deleteOwn = message?.u?._id is Meteor.userId()

		unless hasPermission or (deleteAllowed and deleteOwn)
			throw new Meteor.Error 'message-deleting-not-allowed', "[methods] deleteMessage -> Message deleting not allowed"

		keepHistory = RocketChat.settings.get 'Message_KeepHistory'
		showDeletedStatus = RocketChat.settings.get 'Message_ShowDeletedStatus'

		deleteQuery =
			_id: originalMessage._id
		deleteQuery['u._id'] = Meteor.userId() unless hasPermission
		#deleteQuery['u._id'] = Meteor.userId() if user?.admin isnt true

		if keepHistory
			if showDeletedStatus
				history = ChatMessage.findOne originalMessage._id
				history._hidden = true
				history.parent = history._id
				history.ets = new Date()
