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

Messaging: Add/remove/count members to conversations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6
    • Component/s: Messages
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amaia Amaia Anabitarte
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Andrew Nicols
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/18