Does private message work with the group module

Created on 13 July 2017, over 7 years ago
Updated 7 December 2024, 4 months ago

Hi,

it would be nice if this module would support the group functionality of the https://www.drupal.org/project/group module out of the box.
Which means that there should be the possibility to limit messages to group members automatically.
Or is this already so?

Thanks!

💬 Support request
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇹Austria maxilein

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.

  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴

    I think you should:

    • Configure private_message_thread and private_message entity types as group content
    • Implement hook when a private_message_thread and private_message are create, detect the group context, and make those entities belonging to the detected groups.
    • Alter the routes of private_message and change their paths to be under the group path, so that the group context can be determined. E.g.: /private-messages -> /group/{group}/messages or /private-messages/{private_message_thread} -> /group/{group}/messages/{private_message_thread}, and so on...

    This is not tested but it might work.

    Alternatively, you can consider creating a private_message_group standalone module (or MR to add here as submodule) based the above concept.

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

Production build 0.71.5 2024