mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01: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;
|