diff --git a/public/channels.js b/public/channels.js index f8a18030..b4406dda 100644 --- a/public/channels.js +++ b/public/channels.js @@ -377,8 +377,10 @@ return m.type === 'message' || (m.type === 'packet' && m.data?.decoded?.header?.payloadTypeName === 'GRP_TXT'); }); if (dominated) { + invalidateApiCache('/channels'); loadChannels(true); if (selectedHash) { + invalidateApiCache('/channels/' + encodeURIComponent(selectedHash) + '/messages'); refreshMessages(); } } diff --git a/public/index.html b/public/index.html index 49ea30e8..f9d73d6b 100644 --- a/public/index.html +++ b/public/index.html @@ -22,7 +22,7 @@ - + - - - + + + - - - - + + + + - - + + - +