mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
fix: use telegram user id for pairing request
This commit is contained in:
@@ -254,7 +254,7 @@ export const buildTelegramMessageContext = async ({
|
||||
const telegramUserId = from?.id ? String(from.id) : candidate;
|
||||
const { code, created } = await upsertChannelPairingRequest({
|
||||
channel: "telegram",
|
||||
id: String(candidate),
|
||||
id: telegramUserId,
|
||||
meta: {
|
||||
username: from?.username,
|
||||
firstName: from?.first_name,
|
||||
|
||||
Reference in New Issue
Block a user