mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-17 18:13:21 +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
|
@ -17,7 +17,7 @@ class ConnectionManager {
|
|||
const baseUrl = subscription.baseUrl;
|
||||
const topic = subscription.topic;
|
||||
const user = users.get(baseUrl);
|
||||
const since = 0;
|
||||
const since = subscription.last;
|
||||
const connection = new Connection(id, baseUrl, topic, user, since, onNotification);
|
||||
this.connections.set(id, connection);
|
||||
console.log(`[ConnectionManager] Starting new connection ${id}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue