Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add very basic filter API to /publicRooms #1126

Merged
merged 11 commits into from
Sep 16, 2016
Merged

Conversation

erikjohnston
Copy link
Member

No description provided.

@@ -337,6 +337,35 @@ def on_GET(self, request):

defer.returnValue((200, data))

@defer.inlineCallbacks
def on_POST(self, request):
# FIXME
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIXME?

@@ -386,9 +393,21 @@ def get_forward_extremeties_for_room_txn(txn):

def _delete_old_forward_extrem_cache(self):
def _delete_old_forward_extrem_cache_txn(txn):
# Delete entries older than a month, while making sure we don't delete
# the only entries.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"the only entries for a room?"

@erikjohnston erikjohnston force-pushed the erikj/public_room_cache branch from 7c27feb to a68807d Compare September 16, 2016 10:36
@NegativeMjark
Copy link
Contributor

LGTM

@erikjohnston erikjohnston merged commit 9e1283c into develop Sep 16, 2016
@richvdh richvdh deleted the erikj/public_room_cache branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants