Closed weiss closed 8 years ago
This fixes the following crash on incoming PubSub notifications:
{{json_encode, {bad_term, {struct, <<"user@example.com/Foo">>}}}, [{mochijson2, json_encode, 2, [{file, "src/mochijson2.erl"}, {line, 181}]}, {mod_push_gcm, payload_size_ok, 1, [{file, "src/mod_push_gcm.erl"}, {line, 244}]}, {mod_push_gcm, send_request, 4, [...]}]}
This fixes the following crash on incoming PubSub notifications: