Skip to content

Commit

Permalink
Update MSC links to use new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
edwargix committed Mar 30, 2022
1 parent f24512a commit a703ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ func getMSCs(body string) (mscs []uint) {
}

func getMSCResponse(msc uint) string {
mscPR := fmt.Sprintf("https://github.com/matrix-org/matrix-doc/pull/%d", msc)
resp, err := http.Get(fmt.Sprintf("https://api.github.com/repos/matrix-org/matrix-doc/pulls/%d", msc))
mscPR := fmt.Sprintf("https://github.com/matrix-org/matrix-spec-proposals/pull/%d", msc)
resp, err := http.Get(fmt.Sprintf("https://api.github.com/repos/matrix-org/matrix-spec-proposals/pulls/%d", msc))
if err != nil {
log.Warnf("couldn't get MSC %d details: %s", msc, err)
return mscPR
Expand Down

0 comments on commit a703ceb

Please sign in to comment.