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

View file

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