From b6ac73631fd2c56b1c680def593d5508d1c768e1 Mon Sep 17 00:00:00 2001 From: Cohee Date: Thu, 6 Jul 2023 12:35:03 +0300 Subject: [PATCH 1/2] #640 Fix group candidates filtering --- public/scripts/group-chats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/group-chats.js b/public/scripts/group-chats.js index f6a9e08fd..3da831a75 100644 --- a/public/scripts/group-chats.js +++ b/public/scripts/group-chats.js @@ -1234,7 +1234,7 @@ function filterGroupMembers() { $("#rm_group_add_members .group_member").removeClass('hiddenBySearch'); } else { $("#rm_group_add_members .group_member").each(function () { - const isValidSearch = $(this).children(".ch_name").text().toLowerCase().includes(searchValue); + const isValidSearch = $(this).find(".ch_name").text().toLowerCase().includes(searchValue); $(this).toggleClass('hiddenBySearch', !isValidSearch); }); } From 08fd83ca5d6d032dd9150c395c4899483c608d8b Mon Sep 17 00:00:00 2001 From: vbd537 Date: Thu, 6 Jul 2023 21:00:55 -0300 Subject: [PATCH 2/2] Temporary Poe Fix By adding "/Sage" or any other page name that exists to the end of the "home_url" variable, Poe's problem is solved and it can be used normally again --- src/poe-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poe-client.js b/src/poe-client.js index 4e0365ba9..23080a70a 100644 --- a/src/poe-client.js +++ b/src/poe-client.js @@ -312,7 +312,7 @@ function logObjectStructure(obj, indent = 0, depth = Infinity) { class Client { gql_url = "https://poe.com/api/gql_POST"; gql_recv_url = "https://poe.com/api/receive_POST"; - home_url = "https://poe.com"; + home_url = "https://poe.com/Sage"; settings_url = "https://poe.com/api/settings"; formkey = "";