diff --git a/assets/src/PlanningPokerRoom.elm b/assets/src/PlanningPokerRoom.elm index 3b078bc..7479a82 100644 --- a/assets/src/PlanningPokerRoom.elm +++ b/assets/src/PlanningPokerRoom.elm @@ -514,7 +514,11 @@ playersDecoder = let presence = Decode.map2 (Player Participant) - (Decode.field "name" Decode.string) + (Decode.field "name" + (Decode.nullable Decode.string + |> Decode.map (Maybe.withDefault "") + ) + ) (Decode.field "vote" (Decode.nullable Decode.string)) in Decode.dict presence