Fetch scrollback messages in dm tabs

This commit is contained in:
Ken-Håvard Lieng 2020-05-20 00:30:44 +02:00
parent f0eada0f75
commit 4816fbfbca
2 changed files with 40 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@ -248,7 +248,7 @@ export function fetchMessages() {
} }
const tab = state.tab.selected; const tab = state.tab.selected;
if (isChannel(tab)) { if (tab.name) {
dispatch({ dispatch({
type: actions.FETCH_MESSAGES, type: actions.FETCH_MESSAGES,
socket: { socket: {