diff --git a/README.md b/README.md index 8f7685f2..06b3e045 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ impl StateResolution { // The tricky part, making a good abstraction... trait StateStore { /// Return a single event based on the EventId. - fn get_event(&self, event_id: &EventId) -> Result; + fn get_event(&self, room_id: &RoomId, event_id: &EventId) -> Result; // There are 3 methods that have default implementations `get_events`, // `auth_event_ids` and `auth_chain_diff`. Each could be overridden if