This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commits on Jan 29, 2019
-
Only check event IDs domain signed event for V1 and V2
Since newer versions of events don't have the same format for event ID.
Configuration menu - View commit details
-
Copy full SHA for 770b823 - Browse repository at this point
Copy the full SHA 770b823View commit details -
Remove event ID usage when checking if new room
The event ID is changing, so we can no longer get the domain from it. On the other hand, the check is unnecessary.
Configuration menu - View commit details
-
Copy full SHA for b1fffca - Browse repository at this point
Copy the full SHA b1fffcaView commit details -
Use snder and not event ID domain to check if ours
The transaction queue only sends out events that we generate. This was done by checking domain of event ID, but that can no longer be used. Instead, we may as well use the sender field.
Configuration menu - View commit details
-
Copy full SHA for 55d9024 - Browse repository at this point
Copy the full SHA 55d9024View commit details -
Use event origin for filtering incoming events
We only process events sent to us from a server if the event ID matches the server, to help guard against federation storms. We replace this with a check against the event origin.
Configuration menu - View commit details
-
Copy full SHA for 8e3d34e - Browse repository at this point
Copy the full SHA 8e3d34eView commit details -
Only check event ID domain for signatures for V1 events
In future version events won't have an event ID, so we won't be able to do this check.
Configuration menu - View commit details
-
Copy full SHA for 840068b - Browse repository at this point
Copy the full SHA 840068bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 610f083 - Browse repository at this point
Copy the full SHA 610f083View commit details -
Configuration menu - View commit details
-
Copy full SHA for b40abe0 - Browse repository at this point
Copy the full SHA b40abe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 655ce03 - Browse repository at this point
Copy the full SHA 655ce03View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff2f65d - Browse repository at this point
Copy the full SHA ff2f65dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.