Most likely, there is a wire that has become loose, or broken in a wire-nut when you disturbed the connections. That wire is the feed to the adjacent room.
If you had 4 cables in the junction box, one would be the power coming in, two would be power going out to other boxes, and one would be the switch loop.
That would mean you might have 4 wires together in one wire-nut, 3 wires in another, and a single lead hanging (not counting any ground wires present) in the ceiling box. If one of those other wires broke off, or came loose, whatever it fed downstream would cease to operate.:huh:
Check your connections again to ensure all conductors are still connected and in one piece.:whistling2:
If you had 4 cables in the junction box, one would be the power coming in, two would be power going out to other boxes, and one would be the switch loop.
That would mean you might have 4 wires together in one wire-nut, 3 wires in another, and a single lead hanging (not counting any ground wires present) in the ceiling box. If one of those other wires broke off, or came loose, whatever it fed downstream would cease to operate.:huh:
Check your connections again to ensure all conductors are still connected and in one piece.:whistling2: