Mastodon API returns follow notifications with empty accounts when those are deleted #1203

Closed
opened 2019-08-19 22:52:05 +00:00 by Claire · 2 comments
Member

When an user is followed by an account, the notification stays, even if the account has been then deleted, in which case the account object in the payload is empty.

This breaks the display of notifications in the WebUI (but I can fix that in glitch-soc if needed) and may break other clients too.

When an user is followed by an account, the notification stays, even if the account has been then deleted, in which case the account object in the payload is empty. This breaks the display of notifications in the WebUI (but I can fix that in glitch-soc if needed) and may break other clients too.
Owner
  • NotificationView shouldn't return with account being empty: #5158
  • Make sure that relationship data actually gets deleted with the user
- [x] NotificationView shouldn't return with `account` being empty: https://git.pleroma.social/pleroma/pleroma/pulls/5158 - [ ] Make sure that relationship data actually gets deleted with the user
Owner

I think I can consider this one to be closed as follow relationships are now done as database relations.

I think I can consider this one to be closed as follow relationships are now done as database relations.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma#1203
No description provided.