1
0

Allow removing an appservice room via just the room ID

Room IDs are considered unique across a homeserver, but namely we needed
to do this as homeserver admins don't have an appservice ID associated
with them, so we couldn't delete via AS ID.
This commit is contained in:
Andrew Morgan
2021-04-08 19:42:12 +01:00
parent cb657eb2f8
commit ff05e971af

View File

@@ -1396,8 +1396,6 @@ class RoomStore(RoomBackgroundUpdateStore, RoomWorkerStore, SearchStore):
txn,
table="appservice_room_list",
keyvalues={
"appservice_id": appservice_id,
"network_id": network_id,
"room_id": room_id,
},
)