mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 10:47:35 +09:00
19 lines
238 B
JavaScript
19 lines
238 B
JavaScript
'use strict';
|
|
|
|
import Stream from './stream';
|
|
|
|
/**
|
|
* Home stream connection
|
|
*/
|
|
class Connection extends Stream {
|
|
constructor(me) {
|
|
super('', {
|
|
i: me.token
|
|
});
|
|
|
|
this.on('i_updated', me.update);
|
|
}
|
|
}
|
|
|
|
export default Connection;
|