bug fix shutdown/reconnect WS resultiert in offline für FCM
This commit is contained in:
1 parent
c51ef02f88
commit
b5f928bf76
11 files changed
+331
-11
No files matched your search
@@ -3656,7 +3656,12 @@ async function wakeMobileClients() {
|
||||
if (sent > 0) {
|
||||
setStreetSearchStatus(`${sent} mobile Clients geweckt.`);
|
||||
} else {
|
||||
setStreetSearchStatus('Keine offline mobilen Clients mit Push-Token gefunden.');
|
||||
const tokens = Number(result.valid_tokens) || 0;
|
||||
const connected = Number(result.connected) || 0;
|
||||
setStreetSearchStatus(
|
||||
'Keine offline mobilen Clients mit Push-Token gefunden '
|
||||
+ `(registriert: ${tokens}, verbunden: ${connected}).`
|
||||
);
|
||||
}
|
||||
setTimeout(() => setStreetSearchStatus(''), 5000);
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user