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

core_message_get_conversation always returns isfavourite=false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.6
    • 3.6
    • Messages

      While applying favourites in the mobile app I noticed that the WebService is always returning false for isfavourite, when it shouldn't.

      I debugged it and I've seen that, in core_message\api::get_conversation (used by the WebService), the context passed to favourite_exists is always 1 ($systemcontext). However, in the function set_favourite_conversation the context used is the conversation context. This causes the WS not to find the record and it thinks the conversation isn't favourite.

            jaked Jake Dallimore
            dpalou Dani Palou
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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