- $this->showForm(_('No recipient specified.'));
- return;
- } else if (!$user->mutuallySubscribed($this->other)) {
- $this->clientError(_('You can\'t send a message to this user.'), 404);
- return;
- } else if ($user->id == $this->other->id) {
- $this->clientError(_('Don\'t send a message to yourself; ' .
+ // TRANS: Form validation error displayed trying to send a direct message without specifying a recipient.
+ $this->clientError(_('No recipient specified.'));
+ } else if (!$this->scoped->mutuallySubscribed($this->other)) {
+ // TRANS: Client error displayed trying to send a direct message to a user while sender and
+ // TRANS: receiver are not subscribed to each other.
+ $this->clientError(_('You cannot send a message to this user.'), 404);
+ } else if ($this->scoped->id == $this->other->id) {
+ // TRANS: Client error displayed trying to send a direct message to self.
+ $this->clientError(_('Do not send a message to yourself; ' .