federation: deduplicate room ID check on missing events
This introduces a fraction of extra overhead by deserializing the PDU entirely, if this is unacceptable the helper function could be made more flexible.
This introduces a fraction of extra overhead by deserializing the PDU entirely, if this is unacceptable the helper function could be made more flexible.