mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Set HasBeenInRoom
This commit is contained in:
parent
a7f014311f
commit
5085c76371
|
|
@ -226,6 +226,7 @@ func (r *RoomserverInternalAPI) QueryMembershipForUser(
|
|||
}
|
||||
|
||||
response.IsInRoom = stillInRoom
|
||||
response.HasBeenInRoom = true
|
||||
|
||||
evs, err := r.DB.Events(ctx, []types.EventNID{membershipEventNID})
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue