Fix retrying own events as non-moderator

This commit is contained in:
Cadence Ember
2026-01-25 13:50:16 +13:00
parent c0bbdfde60
commit 2496f4c3b0
3 changed files with 4 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ function getStateEventOuter(roomID, type, key) {
*/
async function getInviteState(roomID) {
/** @type {Ty.R.SSS} */
const root = await mreq.mreq("POST", path("/client/unstable/org.matrix.simplified_msc3575/sync", `@${reg.sender_localpart}:${reg.ooye.server_name}`), {
const root = await mreq.mreq("POST", path("/client/unstable/org.matrix.simplified_msc3575/sync", `@${reg.sender_localpart}:${reg.ooye.server_name}`, {timeout: "0"}), {
room_subscriptions: {
[roomID]: {
timeline_limit: 0,