Message: Fix share inline bot via button (#2059)
This commit is contained in:
parent
8186401be4
commit
103e5ed8e9
@ -282,7 +282,7 @@ addActionHandler('switchBotInline', (global, actions, payload) => {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
const botSender = selectChatBot(global, message.senderId!);
|
const botSender = selectUser(global, message.viaBotId || message.senderId!);
|
||||||
if (!botSender) {
|
if (!botSender) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user