mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-18 10:33:11 +02:00
Switch to since=ID
This commit is contained in:
parent
cda9dfa9d0
commit
0909354a6c
5 changed files with 9 additions and 10 deletions
web/src/app
|
@ -11,7 +11,7 @@ import {
|
|||
class Api {
|
||||
async poll(baseUrl, topic, since, user) {
|
||||
const shortUrl = topicShortUrl(baseUrl, topic);
|
||||
const url = (since > 1) // FIXME Ahh, this is >1, because we do +1 when we call this .....
|
||||
const url = (since)
|
||||
? topicUrlJsonPollWithSince(baseUrl, topic, since)
|
||||
: topicUrlJsonPoll(baseUrl, topic);
|
||||
const messages = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue