mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
remove the config check for thread list because why not
This commit is contained in:
parent
15aaac5983
commit
ad721d93b0
|
|
@ -23,7 +23,6 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"slices"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
|
@ -150,7 +149,6 @@ func Enable(
|
|||
},
|
||||
)).Methods(http.MethodPost, http.MethodOptions)
|
||||
|
||||
if slices.Contains(cfg.MSCs.MSCs, "MSC3856") {
|
||||
routers.Client.Handle("/v1/rooms/{roomId}/threads", httputil.MakeAuthAPI(
|
||||
"msc3856_thread_list", userAPI, func(req *http.Request, d *userapi.Device) util.JSONResponse {
|
||||
vars, err := httputil.URLDecodeMapValues(mux.Vars(req))
|
||||
|
|
@ -192,7 +190,6 @@ func Enable(
|
|||
}
|
||||
},
|
||||
))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue