mirror of
https://github.com/hexastack/hexabot
synced 2025-05-08 14:54:45 +00:00
fix: minor fixes
This commit is contained in:
parent
0567804081
commit
1d896830cb
@ -787,6 +787,10 @@ export default abstract class BaseWebChannelHandler<
|
|||||||
const attachment = await this.handleUpload(req, res);
|
const attachment = await this.handleUpload(req, res);
|
||||||
if (attachment) {
|
if (attachment) {
|
||||||
event._adapter.attachment = attachment;
|
event._adapter.attachment = attachment;
|
||||||
|
event._adapter.raw.data = {
|
||||||
|
type: Attachment.getTypeByMime(attachment.type),
|
||||||
|
url: await this.getPublicUrl(attachment),
|
||||||
|
};
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.logger.warn(
|
this.logger.warn(
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sc-suggestions-element {
|
.sc-suggestions-element {
|
||||||
margin: 0 0 0 0.25rem;
|
margin: 0 0 0.25rem 0.25rem;
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-radius: 2rem;
|
border-radius: 2rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user