Remove trailing spaces.
Autofill destination tag if received from federation
When using federation, dt should be applied in the background.