mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 13:52:46 +00:00
Reduce the number of allocations made by localRoomMembers
when consuming stream events for push notifications (#2324)
This commit is contained in:
parent
f7109de500
commit
16e2d243fc
3 changed files with 4 additions and 1 deletions
|
@ -128,6 +128,8 @@ type QueryMembershipForUserResponse struct {
|
|||
type QueryMembershipsForRoomRequest struct {
|
||||
// If true, only returns the membership events of "join" membership
|
||||
JoinedOnly bool `json:"joined_only"`
|
||||
// If true, only returns the membership events of local users
|
||||
LocalOnly bool `json:"local_only"`
|
||||
// ID of the room to fetch memberships from
|
||||
RoomID string `json:"room_id"`
|
||||
// Optional - ID of the user sending the request, for checking if the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue