Null status in notifications stops notifications from loading
Sometimes somebody may send a like
or some other notification (not sure) with status field set to null. This results in an exception in the frontend side.
Example notification that causes this:
{"account":{"acct":"xenmen@shitposter.club","avatar":"https://stereophonic.space/proxy/DKTR-6SMJz40wtH99cUjliRU11s/aHR0cHM6Ly9zaGl0cG9zdGVyLmNsdWIvbWVkaWEvNmMzNDVlOWUwZTE0ODdlM2QwZjliZmYyNmQ1YmNkNTFhNjU1ZGZhMzgzNWMyMWQ5ZWQyNDY1YjQ3NWY5NDk5Ny5wbmc_bmFtZT1GWEtDTENVMDc4REEucG5n/6c345e9e0e1487e3d0f9bff26d5bcd51a655dfa3835c21d9ed2465b475f94997.png","avatar_static":"https://stereophonic.space/proxy/DKTR-6SMJz40wtH99cUjliRU11s/aHR0cHM6Ly9zaGl0cG9zdGVyLmNsdWIvbWVkaWEvNmMzNDVlOWUwZTE0ODdlM2QwZjliZmYyNmQ1YmNkNTFhNjU1ZGZhMzgzNWMyMWQ5ZWQyNDY1YjQ3NWY5NDk5Ny5wbmc_bmFtZT1GWEtDTENVMDc4REEucG5n/6c345e9e0e1487e3d0f9bff26d5bcd51a655dfa3835c21d9ed2465b475f94997.png","bot":false,"created_at":"2021-02-22T19:30:43.000Z","display_name":"Putis of Xorg","emojis":[],"fields":[{"name":"Book","value":"Ringworld - Larry Niven"},{"name":"Show","value":"Legend of the Galactic Heroes"},{"name":"Movie","value":"Steamboy"}],"followers_count":336,"following_count":966,"fqn":"xenmen@shitposter.club","header":"https://stereophonic.space/proxy/ZitZ9ScHJMiFj8OTBHmAscp4fy8/aHR0cHM6Ly9zdGF0aWMuYmFua3kuY2x1Yi9zaGl0cG9zdGVyLmNsdWIvZjllNDY2MmMzNTkwYmE5YzcxMmM1ZWE2OGEwNDcyZWUyODk1YTJjOGEwMTE4ZjdhYTQ1NDA1MTJhMjhiYzNkOS5HMjJLMjRaOEVMSEg_bmFtZT1HMjJLMjRaOEVMSEg/f9e4662c3590ba9c712c5ea68a0472ee2895a2c8a0118f7aa4540512a28bc3d9.G22K24Z8ELHH","header_static":"https://stereophonic.space/proxy/ZitZ9ScHJMiFj8OTBHmAscp4fy8/aHR0cHM6Ly9zdGF0aWMuYmFua3kuY2x1Yi9zaGl0cG9zdGVyLmNsdWIvZjllNDY2MmMzNTkwYmE5YzcxMmM1ZWE2OGEwNDcyZWUyODk1YTJjOGEwMTE4ZjdhYTQ1NDA1MTJhMjhiYzNkOS5HMjJLMjRaOEVMSEg_bmFtZT1HMjJLMjRaOEVMSEg/f9e4662c3590ba9c712c5ea68a0472ee2895a2c8a0118f7aa4540512a28bc3d9.G22K24Z8ELHH","id":"A4XeWVqJloa7iT14rI","locked":false,"note":"A Canadian who works nightshift, with a lot of 1-5 minute downtimes where I literally can't do any work, so I browse fedi but usually don't have enough time to write posts.<br/><br/>I hate the antichrist.","pleroma":{"accepts_chat_messages":true,"also_known_as":[],"ap_id":"https://shitposter.club/users/xenmen","background_image":null,"deactivated":false,"favicon":"https://stereophonic.space/proxy/LwMHld7JyAYjoiHgasN8d6tBzd8/aHR0cHM6Ly9zaGl0cG9zdGVyLmNsdWIvZmF2aWNvbi5wbmc/favicon.png","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"","pleroma":{"actor_type":"Person","discoverable":true},"sensitive":false},"statuses_count":239,"url":"https://shitposter.club/users/xenmen","username":"xenmen"},"created_at":"2022-02-22T13:00:53.000Z","id":"538797","pleroma":{"is_muted":false,"is_seen":true},"status":null,"type":"favourite"}