fix(matrix): assert outbound runtime hooks
This commit is contained in:
parent
83ee5c0328
commit
9cca8a6de5
@ -379,7 +379,7 @@ export const matrixPlugin: ChannelPlugin<ResolvedMatrixAccount> = {
|
||||
},
|
||||
outbound: {
|
||||
deliveryMode: "direct",
|
||||
chunker: (text, limit) => getMatrixRuntime().channel.text.chunkMarkdownText(text, limit),
|
||||
chunker: (text, limit) => getMatrixRuntime().channel.text.chunkMarkdownText!(text, limit),
|
||||
chunkerMode: "markdown",
|
||||
textChunkLimit: 4000,
|
||||
sendText: async (params) => (await loadMatrixChannelRuntime()).matrixOutbound.sendText!(params),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user