Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-7000

Switch moodle dev chat logs from Telegram to Matrix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • moodle.org
    • None

      The Moodle Dev Chat (Telegram) history is being captured by TelegramBot and being sent to https://moodle.org/local/chatlogs

      Since some months ago (April-May) the new "Moodle Dev Chat" (Matrix) room was created and people is slowly moving from the Telegram to the Matrix one.

      Note that there is a bridge between both rooms, so everything posted in one is re-posted in the other (both directions) by some "pseudo-users". That way, everybody, both in Telegram or Matrix, is able to read and participate.

      Also since May 16th, we are capturing all the history of the Matrix room thanks to KevinBot. It's being stored in a different database from the Telegram one.

      One of the limitation of the Telegram bots is that they aren't able to read messages from other bots. And all those "pseudo-users" in charge of posting messages coming from the Matrix room (where the majority of us is now) are, really, bots.

      So, if you look to the https://moodle.org/local/chatlogs ... and compare them with the messages in the real rooms, you'll see that only those corresponding to real Telegram users are available there.

      In the other side, Matrix bots don't have that limitation and they are perfectly able to read both messages from real Matrix users and also from bots (those users still posting in Telegram).

      So, this issue is about:

      • Make local_chatlogs to start reading messages from the new database. And some small modifications that will be needed, becuase the contents may need to be managed slightly different.
      • Remove all the messages in the history since May 16th and replace them by the information in the Matrix bot database.
      • Stop the Telegram bot to record the information of the Telegram room. Done 20220208.
      • Delete the information from the old Telegram database.

      Ciao

      PS: For any technical detail about the new bot chatlog entrypoint, please ask to stronk7.

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

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