mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 00:07:55 +00:00
Matrix: fix validated review comments
This commit is contained in:
@@ -166,8 +166,11 @@ export function registerPairingCli(program: Command) {
|
||||
if (!opts.notify) {
|
||||
return;
|
||||
}
|
||||
await notifyApproved(channel, approved.id, accountId || undefined).catch((err) => {
|
||||
defaultRuntime.log(theme.warn(`Failed to notify requester: ${String(err)}`));
|
||||
});
|
||||
const approvedAccountId = String(approved.entry?.meta?.accountId ?? "").trim();
|
||||
await notifyApproved(channel, approved.id, accountId || approvedAccountId || undefined).catch(
|
||||
(err) => {
|
||||
defaultRuntime.log(theme.warn(`Failed to notify requester: ${String(err)}`));
|
||||
},
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user