The specification https://matrix.org/docs/spec/push_gateway/r0.1.1 requires "A list of all pushkeys given in the notification request that are not valid. [...] May be empty."
So, if no pushkey is invalid it should return {"rejected":[]}.
Currently it returns {"rejected":null} (and gives an error on element-android when it sends itself the notif to troubleshoot).
The specification https://matrix.org/docs/spec/push_gateway/r0.1.1 requires "A list of all pushkeys given in the notification request that are not valid. [...] May be empty." So, if no pushkey is invalid it should return
{"rejected":[]}
. Currently it returns{"rejected":null}
(and gives an error on element-android when it sends itself the notif to troubleshoot).