composer: voice messages (record + inline player)
Record a voice message in the composer (MediaRecorder → opus/webm) and share it through the same /FILEHOST upload flow as images; received audio URLs render as an inline player. Works in channels and PMs.
This commit is contained in:
parent
6f9df4cd01
commit
39e7e403d7
7 changed files with 166 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Tchatou service worker — installable PWA + offline app shell.
|
||||
// Scope: /app/. Only handles same-origin /app/ GETs; the IRC websocket and all
|
||||
// API calls (cloudflare, change_password, upload) pass straight through.
|
||||
const CACHE = 'tchatou-v73';
|
||||
const CACHE = 'tchatou-v74';
|
||||
const SHELL = ['/app/', '/app/index.html', '/app/favicon.svg', '/app/orbit-icon.svg', '/app/manifest.webmanifest'];
|
||||
|
||||
self.addEventListener('install', (e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue