It doesn't have to be assassins or combat-related either. It's a public inn. Lots of people spend the night there...
Not only do all of the above things prevent the players from getting the effects of the long rest, it plants the seed that they need to find their own base of operations that won't interfere with their rest, thus removing an excessive amount of gold they may be hauling around.