mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28: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)
|
}, &membershipRes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
util.GetLogger(ctx).WithError(err).Error("QueryCurrentState: could not query membership for user")
|
util.GetLogger(ctx).WithError(err).Error("QueryCurrentState: could not query membership for user")
|
||||||
e := jsonerror.InternalServerError()
|
//e := jsonerror.InternalServerError()
|
||||||
return &e
|
//return &e
|
||||||
}
|
}
|
||||||
ev := membershipRes.StateEvents[tuple]
|
ev := membershipRes.StateEvents[tuple]
|
||||||
if ev == nil {
|
if ev == nil {
|
||||||
|
|
Loading…
Reference in a new issue