diff --git a/app/specific/ChatLive.js b/app/specific/ChatLive.js index 910841b2c..239d8001c 100644 --- a/app/specific/ChatLive.js +++ b/app/specific/ChatLive.js @@ -264,7 +264,6 @@ function ChatLive_StartShared(chat_number, id) { function ChatLive_checkShared(chat_number, id) { var theUrl = Main_helix_api + 'shared_chat/session?broadcaster_id=' + ChatLive_selectedChannel_id[chat_number]; - BaseXmlHttpGet(theUrl, ChatLive_checkSharedSuccess, noop_fun, chat_number, id, true); } @@ -339,7 +338,7 @@ function ChatLive_updateBannerSuccess(responseText, chat_number, id) { STR_BR; } - ChatLive_Warn(STR_IN_SHARED_CHAT + chatWarning, 3000); + ChatLive_Warn(ChatLive_selectedChannel[chat_number] + STR_SPACE_HTML + STR_IN_SHARED_CHAT + chatWarning, 3000); ChatLive_SharedShowedWarning[chat_number] = true; } diff --git a/app/specific/PlayEtc.js b/app/specific/PlayEtc.js index 56b9bce6b..aeaa5dff2 100644 --- a/app/specific/PlayEtc.js +++ b/app/specific/PlayEtc.js @@ -3186,6 +3186,22 @@ function Play_MakeControls() { Main_setItem('disabled_shared', Settings_value.disabled_shared.defaultValue + 1); this.setLabel(); + + ChatLive_checkShared(0, Chat_Id[0]); + if (PlayExtra_PicturePicture) { + ChatLive_checkShared(1, Chat_Id[1]); + } + + if (Settings_value.show_chatters.defaultValue) { + ChatLive_isShared[0] = false; + ChatLive_isShared[1] = false; + + ChatLive_loadChattersCheckTypeRun(0, Chat_Id[0]); + + if (PlayExtra_PicturePicture) { + ChatLive_loadChattersCheckTypeRun(1, Chat_Id[1]); + } + } }, setLabel: function () { Main_textContent('controls_text_summary_' + this.position, '(' + (Settings_value.disabled_shared.defaultValue ? STR_YES : STR_NO) + ')');