forked from mirror/misskey
12 lines
242 B
JavaScript
12 lines
242 B
JavaScript
|
const stream = require('../../common/scripts/stream');
|
||
|
const riot = require('riot');
|
||
|
|
||
|
module.exports = me => {
|
||
|
const s = stream(me);
|
||
|
riot.mixin('stream', {
|
||
|
stream: s.event,
|
||
|
getStreamState: s.getState,
|
||
|
streamStateEv: s.stateEv
|
||
|
});
|
||
|
};
|