mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
This adds experimental support in /register for sending key statistical data on the last 1000 private messages that the user is a participant in. Because it's experimental, we require developers to request it explicitly in production (we don't use these data yet in the webapp, and it likely carries some perf cost). We expect this to be extremely helpful in initializing the mobile app user experience for showing recent private message conversations. See the code comments, but this has been heavily optimized to be very efficient and do all the filtering work at the database layer so that we minimize network transit with the database. Fixes #11944.