Merge branch 'trim-federation-add-instance' into 'master'

 trim new relay address string to fix copy and paste domain name spaces and tabs #537

Closes #537

See merge request framasoft/mobilizon!752
This commit is contained in:
Thomas Citharel 2020-12-10 09:05:08 +01:00
commit 080432dbe5

View File

@ -161,7 +161,7 @@ export default class Followings extends Mixins(RelayMixin) {
await this.$apollo.mutate({
mutation: ADD_RELAY,
variables: {
address: this.newRelayAddress,
address: this.newRelayAddress.trim(), // trim to fix copy and paste domain name spaces and tabs
},
});
await this.$apollo.queries.relayFollowings.refetch();