mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 06:58:27 +00:00
Adjust checkMemberInRoom
This commit is contained in:
parent
3f84cd6cd0
commit
64ef4ed7b5
1 changed files with 2 additions and 2 deletions
|
@ -383,8 +383,8 @@ func checkMemberInRoom(ctx context.Context, rsAPI api.RoomserverInternalAPI, use
|
|||
}, &membershipRes)
|
||||
if err != nil {
|
||||
util.GetLogger(ctx).WithError(err).Error("QueryCurrentState: could not query membership for user")
|
||||
e := jsonerror.InternalServerError()
|
||||
return &e
|
||||
//e := jsonerror.InternalServerError()
|
||||
//return &e
|
||||
}
|
||||
ev := membershipRes.StateEvents[tuple]
|
||||
if ev == nil {
|
||||
|
|
Loading…
Reference in a new issue