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

Messaging API should allow the use of unique identifier for messages

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.1
    • Messages
    • MOODLE_39_STABLE

      This will help to solve the problem of identifying messages that were already sent and stored in the server to avoid duplicating (or missing) messages.

      In the Moodle app offline scenarios, this is particularly an issue when synchronising messages that were supposedly sent when the user was offline

      Our proposal would be the following:

      • For each message generated in a messaging client (the app or the LMS javascript client) create a unique id that is stored locally in the client
      • The message unique id will be also stored in the server when the message is successfully saved in the system DB
      • Thanks to these uniqueids the Messages API the server-side will be able to discard duplicated messages sent by a client.
      • The client will use these uniqueids to also discard pending messages to be sent that are already stored in the server.

            jleyva Juan Leyva
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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