mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 16:40:46 +08:00
fix(qq): harden markdown reply delivery
This commit is contained in:
parent
f4deb4ac20
commit
ea5176be93
6 changed files with 907 additions and 253 deletions
|
|
@ -51,6 +51,7 @@ test('QQ runtime waits for gateway ready, installs typing, and stops its client'
|
|||
assert.equal(bot.middlewares[0].options.keepAlive, true);
|
||||
assert.equal(bot.middlewares[0].options.predicate({ message: { senderId: 'owner' } }), true);
|
||||
assert.equal(bot.middlewares[0].options.predicate({ message: { senderId: 'other' } }), false);
|
||||
assert.equal(botOptions.markdownSupport, false);
|
||||
botOptions.logger.debug('raw gateway payload');
|
||||
botOptions.logger.info('gateway ready');
|
||||
assert.deepEqual(sdkLogs, [['info', 'gateway ready']]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue