Fix: Force pull images in deploy workflow
All checks were successful
Build and Push / build-all (push) Successful in 8m52s
All checks were successful
Build and Push / build-all (push) Successful in 8m52s
This commit is contained in:
parent
5430e434c3
commit
7f56f19e94
10 changed files with 164 additions and 30 deletions
|
|
@ -16,6 +16,7 @@
|
|||
} from '$lib/chat/chatStore';
|
||||
import { chatWebSocket } from '$lib/chat/chatWebSocket';
|
||||
import { chatLayout } from '$lib/stores/chatLayout';
|
||||
import { auth } from '$lib/stores/auth';
|
||||
import {
|
||||
ttsEnabled,
|
||||
ttsSettings,
|
||||
|
|
@ -238,7 +239,19 @@
|
|||
});
|
||||
|
||||
function handleSendMessage(event) {
|
||||
const { message, selfDestructSeconds } = event.detail;
|
||||
let { message, selfDestructSeconds } = event.detail;
|
||||
|
||||
// Handle /graffiti command
|
||||
if (message.trim().toLowerCase() === '/graffiti') {
|
||||
const graffitiUrl = $auth.user?.graffitiUrl;
|
||||
if (graffitiUrl) {
|
||||
message = `[graffiti]${graffitiUrl}[/graffiti]`;
|
||||
} else {
|
||||
alert('You don\'t have a graffiti yet. Create one in Settings > Appearance.');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
chatWebSocket.sendMessage(message, userColor, selfDestructSeconds || 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue