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

Messaging: Add/remove/count members to conversations

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6
    • 3.6
    • Messages

    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

              amaia Amaia Anabitarte
              sarjona Sara Arjona (@sarjona)
              Damyon Wiese Damyon Wiese
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/18