Closed amyspark closed 2 years ago
Interesting, I do see that last_status
is supposed to be optional: https://docs.joinmastodon.org/entities/conversation/#optional-attributes
But I wonder: what does it mean for it to be optional? How can someone send you a direct message with no content in it?
Does Mastodon send the null last_status
, or is this some other platorm like Pleroma or Misskey?
@nolanlawson Mastodon 3.4.4. Perhaps the convo must've been a single message, but it's been deleted?
Ahhh, ok. Why would Mastodon send a notification about it, then? This is very odd.
Also, IIUC, this doesn't actually cause the app to crash or anything, right? From reading the code, it looks like this should just be an error in the console with no other effect.
Ah no wait, I see, this does cause a runtime error in the DMs view.
@nolanlawson correct, it renders the DM view impossible to use. (FWIW, Mastodon frontend just ignores such a convo.)
Stacktrace:
The convo object that causes the error looks like this: