Add function to get currently joined rooms.
Add function to get currently joined rooms.

matrix-org/matrix-js-sdk,krombel/matrix-js-sdk,krombel/matrix-js-sdk,krombel/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk