As one user, i've disabled private messages from my account. As a different user, i try to send a message to the other. A message appears at the top with escaped html:

<a href=".../user/#" title="View user profile.">...</a> has disabled private message receiving.

Fixed by passing option 'plain' => TRUE to privatemsg_recipient_format in privatemsg_privatemsg_block_message.

Comments

Status: Needs review » Needs work

The last submitted patch, recipient-disabled-msgs.patch, failed testing.

berdir’s picture

Change looks good, can you update the patch so that the file path is starting inside the privatemsg directory?

You can actually do that manually, simply by editing the file. With git, you could also use the --relative option.

nymo’s picture

StatusFileSize
new646 bytes

Sure thing, here it is again, edited manually though so hopefully i got it right. Else i'll go through the patch tuts.

nymo’s picture

Status: Needs work » Needs review

recipient-disabled-msgs.patch queued for re-testing.

berdir’s picture

Status: Needs review » Fixed

Thanks, commited.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.