Fix event id calculation (#684)
Fix event id calculation (#684)

Fix the event id calculated for events in v3 etc rooms: we have to calculate
the hash *after* signing.

Turns out this was working by good fortune before (we never actually checked
the event ids).
matrix-org/sytest,matrix-org/sytest