mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* Make sure we're not treating garbage data in feed item as guids Some of these would parse as `{ '$': { isPermaLink: 'false' } }` or similar, which would then surprise us very much when assuming that it's a string stored in accountData. * Changelog * Exclude empty strings when looking for viable guids Co-authored-by: Christian Paul <christianp@matrix.org> * Hash seen feed entry guids for storing and checking This saves a little bit of space in the common case, and prevents bloating the storage were someone to feed us obnoxiously long guids. --------- Co-authored-by: Tadeusz Sośnierz <tadeusz@sosnierz.com> Co-authored-by: Christian Paul <christianp@matrix.org>