mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
I am not quite ready to declare victory on the subject/topic migration, but we are super close. In this commit I bump a blueslip warning to a blueslip error, so that we'll be notified of any codepath that is still using the janky fall-back-to-subject defensive code here. If we go a couple days without any errors, then we can remove the blueslip warning and the defensive code immediately and then inline the callers at our leisure. I wouldn't be wildly against keeping these wrappers in some parts of the code, but that debate is out of the scope of this immediate fix, and I haven't thought hard about it yet. We can basically sweep set_message_topic() now, if we wanted to, since it's truly just a one-liner. (At one point it was encapsulating something like `message.subject = foo`). This required a tiny change to compose_fade test setup.
8.9 KiB
8.9 KiB