Start processing member state events only after we've set out own (#2000)
Start processing member state events only after we've set out own (#2000)

This avoids a race condition where the other side would first receive the to-device messages and only then the member state event which would result in the call being ignored

Signed-off-by: Šimon Brandner <693d0dcbd78a704afb4d0436efaeb4dc757ae6d1@gmail.com>
matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk