Loading CHANGELOG.md +3 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,9 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr ### Changed - Sort match listings to show newer created matches first by default. ### Fixed - Fix an issue in the js runtime that would prevent the matchmaker matched callback to function correctly. ## [3.1.1] - 2021-02-15 ### Changed - Go runtime logger now identifies the file/line in the runtime as the caller rather than the logger. Loading server/runtime_javascript.go +1 −1 Original line number Diff line number Diff line Loading @@ -1571,7 +1571,7 @@ func (rp *RuntimeProviderJS) MatchmakerMatched(ctx context.Context, entries []*M return "", false, nil } retString, ok := retValue.(goja.Value).Export().(string) retString, ok := retValue.(string) if ok { matchIDComponents := strings.SplitN(retString, ".", 2) if len(matchIDComponents) != 2 { Loading Loading
CHANGELOG.md +3 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,9 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr ### Changed - Sort match listings to show newer created matches first by default. ### Fixed - Fix an issue in the js runtime that would prevent the matchmaker matched callback to function correctly. ## [3.1.1] - 2021-02-15 ### Changed - Go runtime logger now identifies the file/line in the runtime as the caller rather than the logger. Loading
server/runtime_javascript.go +1 −1 Original line number Diff line number Diff line Loading @@ -1571,7 +1571,7 @@ func (rp *RuntimeProviderJS) MatchmakerMatched(ctx context.Context, entries []*M return "", false, nil } retString, ok := retValue.(goja.Value).Export().(string) retString, ok := retValue.(string) if ok { matchIDComponents := strings.SplitN(retString, ".", 2) if len(matchIDComponents) != 2 { Loading