Applies the proper logic for unthreaded and threaded receipts to either apply to all events in the room or only events in the same thread, respectively.