mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:03:40 +08:00
37b71c5903
This patch is a followup of https://github.com/discourse/discourse/pull/21504 where limits on custom message for an invite were introduced. This had a side effect of making some existing invites invalid and with the current code, they can’t be invalidated anymore. This patch takes the approach of skipping the validations when invites are invalidated since the important thing here is to mark the invite as invalidated regardless of its actual state in the DB. (no other attributes are updated at the same time anyway) |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |