403 for a message that isn't yours.

darcs-hash:20080923050637-5ed1f-c568033b5c00ac32d9ad63b5a4d18a81c09ad525.gz
This commit is contained in:
Evan Prodromou 2008-09-23 01:06:37 -04:00
parent 27b7987b3c
commit 44f7dc2a76
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class ShowmessageAction extends MailboxAction {
$cur->id != $message->from_profile &&
$cur->id != $message->to_profile)
{
$this->client_error(_('Only the sender and recipient may read this message.'), 404);
$this->client_error(_('Only the sender and recipient may read this message.'), 403);
return;
}