- $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: 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; ' .