mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 21:03:09 +02:00
d071d18dd7
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
14 lines
345 B
TypeScript
14 lines
345 B
TypeScript
import Channel from '../channel.js';
|
|
|
|
export default class extends Channel {
|
|
public readonly chName = 'drive';
|
|
public static shouldShare = true;
|
|
public static requireCredential = true;
|
|
|
|
public async init(params: any) {
|
|
// Subscribe drive stream
|
|
this.subscriber.on(`driveStream:${this.user!.id}`, data => {
|
|
this.send(data);
|
|
});
|
|
}
|
|
}
|