1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00
Mstdn/renderer/index.ts
2017-04-20 11:47:44 +09:00

9 lines
264 B
TypeScript

import {Config, Account} from '../main/config';
import * as Ipc from './ipc';
import setupKeymaps from './key_handler';
Ipc.on('mstdn:config', (c: Config, a: Account) => {
setupKeymaps(c, a);
document.title = `${document.title} @${a.name}@${a.host}`;
});