mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: add the access attribute
This commit is contained in:
@@ -626,6 +626,7 @@ export default abstract class BaseWebChannelHandler<
|
||||
size: Buffer.byteLength(data.file),
|
||||
type: data.type,
|
||||
context: 'message_attachment',
|
||||
access: 'private',
|
||||
createdByRef: 'Subscriber',
|
||||
createdBy: req.session?.web?.profile?.id,
|
||||
});
|
||||
@@ -692,6 +693,7 @@ export default abstract class BaseWebChannelHandler<
|
||||
size: file.size,
|
||||
type: file.mimetype,
|
||||
context: 'message_attachment',
|
||||
access: 'private',
|
||||
createdByRef: 'Subscriber',
|
||||
createdBy: req.session.web.profile?.id,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user