i dont even know what this PR is supposed to be about anymore, everyone lost the plot somewhere in the middle of act 2 #74

Open
Guzio wants to merge 128 commits from Guzio/out-of-your-element:mergable-fr-fr into main
Showing only changes of commit 7895f89cc0 - Show all commits

debug slop v2

Guzio 2026-02-28 11:52:18 +00:00

View file

@ -402,7 +402,9 @@ async function setUserPowerCascade(spaceID, mxid, power, api) {
* @param {string} eventID
*/
function getThreadRoomFromThreadEvent(eventID){
console.log("searching for: "+eventID)
const threadID = select("event_message", "message_id", {event_id: eventID}).pluck().get() //Discord thread ID === its message ID
console.log("matched to: "+threadID)
if (!threadID) return threadID;
return select("channel_room", "room_id", {channel_id: threadID}).pluck().get()
}