Skip to content

Commit

Permalink
fixes for ssapp
Browse files Browse the repository at this point in the history
  • Loading branch information
steveseguin committed Nov 23, 2024
1 parent 293f67f commit 4a42980
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -6231,9 +6231,7 @@ async function applyBotActions(data, tab = false, reflection = false) {
var matchedBSky = extractBskyUsername(data.chatname) || extractBskyUsername(data.chatmessage);
if (matchedBSky){
BSky[data.userid] = matchedBSky;
if (!(Object.keys(BSky)%10)){
localStorage.setItem("x2bsky",JSON.stringify(BSky));
}
localStorage.setItem("x2bsky",JSON.stringify(BSky));
}
}

Expand Down
3 changes: 2 additions & 1 deletion sources/websocket/twitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ try{

chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
try {
if ("focusChat" == request) {
if ("focusChat" == request){ // if (prev.querySelector('[id^="message-username-"]')){ //slateTextArea-
document.querySelector('#sendmessage').focus();
sendResponse(true);
return;
}
Expand Down

0 comments on commit 4a42980

Please sign in to comment.