mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 19:56:44 +02:00
Give the typing indicator channel a more generic name for later
This commit is contained in:
parent
601fe7fd3d
commit
7aea412984
2 changed files with 3 additions and 5 deletions
|
@ -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"
|
||||||
})
|
})
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue