alkem-io / matrix-adapter

Wrapper around Matrix homeserver for supplying communications capabilities in Alkemio.
0 stars 0 forks source link

BUG: Unable to delete messages from all matrix rooms #51

Closed techsmyth closed 3 weeks ago

techsmyth commented 1 month ago

Describe the bug Not all matrix rooms are updated to allow deleting of messages by new members.

When executing the matrixAdmin action via rabbitMQ the following error is received:

image.png

To Reproduce Steps to reproduce the behavior:

  1. Port forward to rabbitMQ mgr on production
  2. Open the rabbit mq manager
  3. Send the following message to the matrix adapter queue:
    {
    "pattern": "updateRoomStateForAdminRooms",
    "data": {
    "adminEmail": "****",
    "adminPassword": "***",
    "powerLevel": {
      "users_default": 50,
      "redact": 0
    }
    }
    }

Expected behavior The update request both syncs + then executes for all rooms for that admin without failing

techsmyth commented 4 weeks ago
image.png

Sync completed on production for matrixadmin account, so all messages should now be deletable.