misskey-dev / misskey

๐ŸŒŽ An interplanetary microblogging platform ๐Ÿš€
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.66k stars 1.29k forks source link

Consolidate Mentions #4081

Open ibrokemypie opened 5 years ago

ibrokemypie commented 5 years ago

Summary

Currently misskey returns two mention objects, mentions which contains ids of all mentions, and mentionedRemoteUsers, which contains some details about users that are mentioned and remote, but does not include ids or local users. This makes client logic unnecessarily complicated. It would be much better if misskey returned a mentions array of objects that included username, host, url and id. This would include all mentions whether local or remote.

Environment

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/69500253-consolidate-mentions?utm_campaign=plugin&utm_content=tracker%2F51027576&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F51027576&utm_medium=issues&utm_source=github).
Sayamame-beans commented 4 weeks ago

triage: outdated? (Misskey APIใŒ่ฟ”ใ™ๅ†…ๅฎนใซใฏ่จ€ๅŠใ•ใ‚Œใฆใ„ใ‚‹ใ‚‚ใฎใŒๅซใพใ‚Œใฆใ„ใชใ„ใ‚ˆใ†ใซ่ฆ‹ใˆใพใ™)