mirror of
https://github.com/discourse/discourse.git
synced 2025-02-14 15:24:57 +00:00
Sets the chat_allowed_groups to staff (the old default) in the database for people who already have chat enabled if they did not already change it. The assumption is that most people who this applies to will be upgrading from a version that has neither of these two PRs ( the other PR being #19116) to a version that has both of these PRs. So, for existing site with chat enabled who haven’t set groups, we want to persist the value which is more likely to match what that are upgrading from (staff). People who don’t yet have chat enabled should get the new value (TL1 and staff) when they do enable it. Follow up to 05b740036e90cb0491b8a45e48c368e8948c9136