Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3248

Notify users when contact cannot be blocked

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: Messages add-on
    • Labels:
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      There are some situations when some contacts cannot be blocked (for example, if they have permissions to broadcast messages).  The mobile app is not handling this situation correctly, and it gives the false impression that a user was blocked.

      The endpoint to block users is core_message_block_user and doesn't give an indication that something went wrong. However, it is possible to use the information in a call to core_message_get_conversation looking at the canmessageevenifblocked property of the user.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              noeldemartin Noel De Martin
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: