Add matrix service to $matrix and move room handling to that
This commit is contained in:
parent
2ca7dd3655
commit
c88931e00c
7 changed files with 239 additions and 213 deletions
|
|
@ -7,11 +7,11 @@ Vue.use(Vuex)
|
|||
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
currentRoom: null
|
||||
currentRoomId: null
|
||||
},
|
||||
mutations: {
|
||||
setCurrentRoom(state, room) {
|
||||
state.currentRoom = room;
|
||||
setCurrentRoomId(state, roomId) {
|
||||
state.currentRoomId = roomId;
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue