It is very clear that relativity and time dilation due to relative velocity is not part of Star Trek cannon. They live in a "Toy" universe where everything is easy and quartz crystals can be used for FTL travel.
It basically turns the "range" of communication into relative velocity, as relative time dilation shifts transmission frequency beyond processability. An intermediary with lower relative velocity to both can act as MITM.