mastodon / mastodon

Your self-hosted, globally interconnected microblogging community
https://joinmastodon.org
GNU Affero General Public License v3.0
47.21k stars 7k forks source link

API: Include Relationships in Notification #5273

Open DagAgren opened 7 years ago

DagAgren commented 7 years ago

It would be very nice if a Notification object contained the Relationships for the account in question. This would allow sorting notifications into regular and high-priority ones from people you follow or mutuals. Personally, I want to add a view to my client that shows notifications per mutual, for instance.

It can be done now by sending off a request to check for relationships for each notification, or by keeping a cached list of accounts, but that's inefficient and not very robust.


beatrix-bitrot commented 7 years ago

this sounds cool and good

@Gargron what do you think?