diff --git a/kfet/utils.py b/kfet/utils.py index e7ec91c2..d5df3228 100644 --- a/kfet/utils.py +++ b/kfet/utils.py @@ -72,9 +72,6 @@ class DjangoJsonWebsocketConsumer(AsyncJsonWebsocketConsumer): @classmethod async def encode_json(cls, content): - # Remove the type value, only used by Channels to choose the group to send to - content.pop("type") - return json.dumps(content, cls=DjangoJSONEncoder)