Skip to content

A platform for community discussion. Free, open, simple.

DEV: restore AutoJoinChannelBatch job as a no-op to clear queue (#29743)

Régis Hanolb4156107dfcc
diff --git a/plugins/chat/app/jobs/regular/chat/auto_join_channel_batch.rb b/plugins/chat/app/jobs/regular/chat/auto_join_channel_batch.rb
new file mode 100644
index 00000000000..7cb1dd1585a
--- /dev/null
+++ b/plugins/chat/app/jobs/regular/chat/auto_join_channel_batch.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+# TODO: delete this unused job after 2025-01-01
+
+module Jobs
+ module Chat
+ class AutoJoinChannelBatch < ::Jobs::Base
+ def execute(args)
+ # no-op
+ end
+ end
+ end
+end