mizzkey/src/web/app/common/scripts/home-stream.js

19 lines
238 B
JavaScript
Raw Normal View History

2017-06-08 18:03:54 +02:00
'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;