History Polling: Message-ID-basiert, neuer /api/history/poll Endpoint

This commit is contained in:
Meleki committed 2026-02-26 15:54:01 +01:00
1 parent 19f926da05
commit fb2c3a0720
5 files changed
+90 -25

No files matched your search

+5
View File
@@ -12,3 +12,8 @@ async function apiHistory(sessionId = 'null', limit = 50) {
const resp = await fetch(`/api/history?sessionId=${sessionId}&limit=${limit}`);
return resp.json();
}
async function apiHistoryPoll(afterId) {
const resp = await fetch(`/api/history/poll?afterId=${afterId}`);
return resp.json();
}