Support string in voip version field
dbkr opened this issue · comments
We now get:
DEBU[2021-07-05 14:08:23.275] Failed to parse content of [$AksdclQoima3XlUHHSWaeK3XUQes62uGgFUjWqfySnA m.call.invite json: cannot unmarshal string into Go struct field CallInviteEventContent.version of type int] (%!s(MISSING)): %!v(MISSING)
on incoming voip events
This field changed to a string in voip version 1 to allow us to support namespaced versions, so I'm afraid it can now be either a string or an int.