diff --git a/apps/channels/models.py b/apps/channels/models.py index 179ab5bd..320470bb 100644 --- a/apps/channels/models.py +++ b/apps/channels/models.py @@ -451,10 +451,8 @@ class Channel(models.Model): def effective_stream_profile_obj(self): return self._resolve_effective_fk("stream_profile") + # @TODO: honor stream's stream profile def get_stream_profile(self): - # Respect per-channel overrides: effective_stream_profile_obj uses - # _resolve_effective_fk which picks override.stream_profile when set, - # falling back to the channel's own stream_profile field. stream_profile = self.effective_stream_profile_obj if not stream_profile: stream_profile = StreamProfile.objects.get(