diff --git a/app/core/stream_manager.py b/app/core/stream_manager.py index 6cd66a1..f526b32 100644 --- a/app/core/stream_manager.py +++ b/app/core/stream_manager.py @@ -291,8 +291,9 @@ class LiveStreamRecorder: msg_manager = MessagePusher(self.settings) user_config = self.settings.user_config - if self.app.recording_enabled and MessagePusher.should_push_message( - self.settings, self.recording, check_manually_stopped=True, message_type='end') and not self.recording.notified_live_end: + if (self.app.recording_enabled and MessagePusher.should_push_message( + self.settings, self.recording, check_manually_stopped=True, message_type='end') and + not self.recording.notified_live_end): push_content = self._["push_content_end"] end_push_message_text = user_config.get("custom_stream_end_content") if end_push_message_text: