mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
logging
This commit is contained in:
parent
dadc00caf1
commit
20e96f5332
1 changed files with 4 additions and 1 deletions
|
@ -160,10 +160,13 @@ func MakeJoin(
|
|||
|
||||
if err = gomatrixserverlib.Allowed(event.Event, &provider); err != nil {
|
||||
if joinRules.JoinRule == gomatrixserverlib.Restricted {
|
||||
return attemptMakeJoinForRestrictedMembership(
|
||||
res := attemptMakeJoinForRestrictedMembership(
|
||||
httpReq, cfg, rsAPI, &verRes,
|
||||
provider, &builder, joinRules, userID,
|
||||
)
|
||||
j, _ := json.Marshal(res)
|
||||
logrus.Info("restricted make_join response:", string(j))
|
||||
return res
|
||||
}
|
||||
return util.JSONResponse{
|
||||
Code: http.StatusForbidden,
|
||||
|
|
Loading…
Reference in a new issue