Make prev_event signing work again.

This commit is contained in:
Erik Johnston 2014-10-31 15:35:39 +00:00
parent 2f39dc19a2
commit d30d79b5be
3 changed files with 18 additions and 8 deletions

View file

@ -69,7 +69,7 @@ class EventFederationStore(SQLBaseStore):
results = []
for event_id, depth in txn.fetchall():
hashes = self._get_prev_event_hashes_txn(txn, event_id)
hashes = self._get_event_reference_hashes_txn(txn, event_id)
prev_hashes = {
k: encode_base64(v) for k, v in hashes.items()
if k == "sha256"