Open dm tab on /msg

This commit is contained in:
Ken-Håvard Lieng 2020-05-06 04:50:27 +02:00
parent 8305dd561d
commit 7d97d10e76
3 changed files with 114 additions and 110 deletions

View file

@ -5,7 +5,7 @@ export const beforeHandler = '_before';
export const notFoundHandler = 'commandNotFound';
function createContext({ dispatch, getState }, { server, channel }) {
return { dispatch, getState, server, channel, isChannel: isChannel(channel) };
return { dispatch, getState, server, channel, inChannel: isChannel(channel) };
}
// TODO: Pull this out as convenience action