@inceptionstack/roundhouse 0.5.32 → 0.5.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -169,10 +169,10 @@ async function showTopicMenu(
|
|
|
169
169
|
const currentDisplay = current ?? "main (default)";
|
|
170
170
|
const known = listTopics(chatId);
|
|
171
171
|
|
|
172
|
-
// Try inline keyboard if
|
|
173
|
-
//
|
|
172
|
+
// Try inline keyboard if the adapter supports raw Telegram calls.
|
|
173
|
+
// Always show keyboard (main is always available), even if no custom topics yet.
|
|
174
174
|
const telegramFetch = thread?.adapter?.telegramFetch;
|
|
175
|
-
if (
|
|
175
|
+
if (telegramFetch) {
|
|
176
176
|
const tgChatId = extractTelegramChatId(thread);
|
|
177
177
|
if (tgChatId) {
|
|
178
178
|
try {
|