Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63408

Messaging: Add/remove/count members to conversations

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.6
    • Messages

      During the audit in MDL-63311, there have been identified some new functions to add, for supporting conversations between 3 or more users:

      • add_members_to_conversation(userids, convid)
      • remove_members_from_conversation(userids. convid)
      • count_conversation_members(convid)

      We need to create these methods in the messaging API and add some phpunit tests for checking them.

      We also should add some extra testing scenarios for the existing methods create_conversation_between_users and get_conversation_between_users for covering conversations with 3 or more members.

            amaia Amaia Anabitarte
            sarjona Sara Arjona (@sarjona)
            Damyon Wiese Damyon Wiese
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.