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

Matrix integration makes false assumptions for user ID format

XMLWordPrintable

      When configuring a Matrix server a matrixhomeserverurl of "https://matrix.example.com" Moodle assumes that the Matrix userid should be "@user:matrix.example.com".
      This is often not the case, though.
      On our Matrix instance the userids look like "@user:example.com", though the server is "https://matrixserver.example.com".

      The relevant function is:

      get_formatted_matrix_userid()

      in:

      communication/provider/matrix/classes/matrix_user_manager.php

      I would suggest to add a configuration option to define the userid format.

        1. MDL-81685.png
          MDL-81685.png
          311 kB
        2. 01.png
          01.png
          78 kB

            markwebster Mark Webster
            marxist Tobias Marx
            Mark Johnson Mark Johnson
            Safat Shahin Safat Shahin
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 52 minutes
                4h 52m

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