matrix-js-sdk
b3e93ffa - Add `getDate` function to MatrixEvent (#311)

Commit
8 years ago
Add `getDate` function to MatrixEvent (#311) * Add `getDate` function to MatrixEvent `getDate` can be used to get the timestamp of the event as a `Date` instance. Adds handleRemoteEcho function to be called on change of internal event of MatrixEvent, so that the internal `_date` can be updated when a remote echo replaces a local one.
Author
Parents
Loading