Fetch scrollback messages earlier, add them when ready

This commit is contained in:
Ken-Håvard Lieng 2017-06-07 00:04:37 +02:00
parent e5c5938414
commit b6e92d6add
8 changed files with 93 additions and 32 deletions

View file

@ -152,6 +152,14 @@ export function fetchMessages() {
};
}
export function addFetchedMessages(server, tab) {
return {
type: actions.ADD_FETCHED_MESSAGES,
server,
tab
};
}
export function updateMessageHeight(wrapWidth, charWidth, windowWidth) {
return {
type: actions.UPDATE_MESSAGE_HEIGHT,