Remove redundant room_id

This commit is contained in:
David Baker 2017-06-02 16:02:20 +01:00
parent f52035f3cd
commit ac0f2f79d1

View file

@ -140,12 +140,10 @@ class RoomViewStore extends Store {
MatrixClientPeg.get().joinRoom(this._state.roomId, payload.opts).done(() => {
dis.dispatch({
action: 'joined_room',
room_id: this._state.roomId,
});
}, (err) => {
dis.dispatch({
action: 'join_room_error',
room_id: this._state.roomId,
err: err,
});
const msg = err.message ? err.message : JSON.stringify(err);