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

Only pull out IDs from DB for /state_ids/ request #1063

Merged
merged 1 commit into from
Sep 2, 2016

Conversation

erikjohnston
Copy link
Member

No description provided.

@NegativeMjark
Copy link
Contributor

LGTM

@erikjohnston erikjohnston merged commit 1ffe957 into develop Sep 2, 2016
if "replaces_state" in event.unsigned:
prev_id = event.unsigned["replaces_state"]
if prev_id != event.event_id:
results[(event.type, event.state_key)] = prev_id
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the point of this check?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because we don't want to put the event into the current state?

@erikjohnston erikjohnston deleted the erikj/pull_out_ids_only branch March 29, 2017 10:58
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