docs: Restored todo as this did not resolve it. Cleaned up overly verbose comment.

This commit is contained in:
SergeantPanda 2026-05-29 17:07:55 -05:00
parent 5eb118478b
commit b63650799a

View file

@ -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(