Can't send messages after editing user

Created on 15 August 2013, over 11 years ago
Updated 29 May 2023, over 1 year ago

Issue summary (from #11)

The issue seems to be that if you submit a user edit form that is missing the form element for private messages (and your user has the 'allow disabling privatemsg' permission), the module disables private messages for the user. The expected behaviour would be that this should only happen if the form element is present, but the checkbox for 'Enable private messages' is not checked.

Original post:

Hi and thanks for the very useful module,

I have configured the private messages module and everything worked well as I found the configurations quite intuitive. However, at the last moment, I changed the admin username and my problem started! When I go to messages page I get the following message:
"You have disabled Privatemsg and are not allowed to write messages. Go to your Account settings to enable it again." and when I go to Account setting page there is no option for enabling or disabling the private message for admin user as well as other users. I have checked the permissions (and disabled and enabled them again to be sure!) and all authenticated users have "Allow disabling private messages" permission enabled.

I also get the following messages at the bottom of the conversation when I go to old conversations:
"You can not reply to this conversation because all recipients are blocked.

You have disabled private message sending and receiving.
You have disabled private message sending and receiving."

Any help is really appreciated. I have spend few days searching and reconfiguring but couldn't get it to work. Is this a bug or I am missing something?

Thanks,
Amir

🐛 Bug report
Status

Closed: outdated

Version

1.4

Component

Code (pm_block_user)

Created by

🇨🇦Canada AmirKa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024