mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 04:13:17 +08:00
fix: preserve quoted message context across channels
This commit is contained in:
parent
c2be2389b0
commit
94e114b9b3
46 changed files with 4242 additions and 321 deletions
|
|
@ -89,6 +89,7 @@ test('collecting rejects non-text and other commands without counting them', ()
|
|||
const media = batches.handle('direct:one', 'photo caption', { plainText: false });
|
||||
assert.equal(media.kind, 'unsupported-content');
|
||||
assert.match(media.message, /未收录/);
|
||||
assert.match(media.message, /图片、文件或引用消息/);
|
||||
|
||||
const mediaCommand = batches.handle('direct:one', '/cancel', { plainText: false });
|
||||
assert.equal(mediaCommand.kind, 'unsupported-content');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue