mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-17 11:08:58 +01: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);
|
|
});
|
|
}
|
|
}
|