mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 14:20:45 +08:00
feat: split group and direct context enhancement
This commit is contained in:
parent
38096d1589
commit
75ebaebf2e
21 changed files with 1423 additions and 873 deletions
|
|
@ -1556,7 +1556,8 @@ for (const scenario of [
|
|||
let settingsReads = 0;
|
||||
let nextMessageId = 500;
|
||||
const configFor = ([directEnabled, groupEnabled], guidance) => ({
|
||||
directEnabled, groupEnabled, fields: ['channel', 'botId'], guidance,
|
||||
group: { enabled: groupEnabled, fields: ['channel', 'botId'], guidance },
|
||||
direct: { enabled: directEnabled, fields: ['channel', 'botId'], guidance },
|
||||
});
|
||||
let config = configFor(scenario.before, 'before cursor write');
|
||||
const update = (id, kind) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue