Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process m.room.encryption events before emitting RoomMember events #2914

Merged
merged 8 commits into from
Nov 30, 2022

Commits on Nov 29, 2022

  1. Configuration menu
    Copy the full SHA
    e2aefa2 View commit details
    Browse the repository at this point in the history
  2. Factor out setRoomEncryptionImpl which takes a Room

    Passing in a `Room` means that we can set up encryption before the
    room is added to the client
    richvdh committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    dc0d751 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    248d244 View commit details
    Browse the repository at this point in the history
  4. Inline a call to trackRoomDevices

    we already have the room ehre, so may as well call `trackRoomDevicesImpl`
    directly.
    richvdh committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    5656b22 View commit details
    Browse the repository at this point in the history
  5. Call onCryptoEvent before processing state events

    This fixes the problematic race condition.
    richvdh committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    4928d33 View commit details
    Browse the repository at this point in the history
  6. Add a new test

    richvdh committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    7c41145 View commit details
    Browse the repository at this point in the history
  7. lint

    richvdh committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    9d20db1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f660a6f View commit details
    Browse the repository at this point in the history