Skip to content

Commit

Permalink
Add total to resourceMap of joined_rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Dec 23, 2020
1 parent 8fbcfe2 commit 36d07cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/synapse/dataProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const resourceMap = {
endpoint: `/_synapse/admin/v1/users/${id}/joined_rooms`,
}),
data: "joined_rooms",
total: json => json.total,
},
servernotices: {
map: n => ({ id: n.event_id }),
Expand Down

0 comments on commit 36d07cc

Please sign in to comment.