Give the typing indicator channel a more generic name for later

This commit is contained in:
Ada 2025-06-24 00:58:54 +10:00
parent 601fe7fd3d
commit 7aea412984
2 changed files with 3 additions and 5 deletions

View file

@ -203,7 +203,7 @@
case "start_typing":
if (!isTyping) {
Messages.sendMessage(
"ChatBubbles-Typing",
"Chat-Typing",
JSON.stringify({
action: "typing_start",
position: MyAvatar.position,
@ -215,7 +215,7 @@
case "end_typing":
if (isTyping) {
Messages.sendMessage(
"ChatBubbles-Typing",
"Chat-Typing",
JSON.stringify({
action: "typing_stop"
})

View file

@ -10,9 +10,7 @@
const CHAT_CHANNEL = "chat";
// can't reuse the chat channel because ArmoredChat passes
// anything on "chat" into FloofChat-Notif and throws an error
const TYPING_NOTIFICATION_CHANNEL = "ChatBubbles-Typing";
const TYPING_NOTIFICATION_CHANNEL = "Chat-Typing";
const CONFIG_UPDATE_CHANNEL = "ChatBubbles-Config";
const BUBBLE_LIFETIME_SECS = 10;