mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 17:56:20 +03:00
f559d46261
* Tidy up emoji parsing on profile submission Don't bother reparsing for emoji unless one of the fields that can have emoji in it has changed. Deduplicate emoji between the display name and profile note - I'm not sure whether this was hurting anything, but better safe. * Deduplicate emoji when parsing remote accounts Some servers - Misskey at least - don't deduplicate emoji, so it's possible to get an account which has the same emoji used in both the display name and note and therefore includes that emoji twice in its metadata. When we start trying to put those into our database, we run into a uniqueness constraint and fall over. This change just deduplicates at the point of construction of an account. |
||
---|---|---|
.. | ||
account.go | ||
account_test.go | ||
create.go | ||
createblock.go | ||
createfollow.go | ||
delete.go | ||
get.go | ||
getbookmarks.go | ||
getfollowers.go | ||
getfollowing.go | ||
getrelationship.go | ||
getrss.go | ||
getrss_test.go | ||
getstatuses.go | ||
removeblock.go | ||
removefollow.go | ||
update.go | ||
update_test.go |