mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-23 02:32:12 +00: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. |
||
---|---|---|
.. | ||
activitystreams.go | ||
contextkey.go | ||
extract.go | ||
extract_test.go | ||
extractattachments_test.go | ||
extractcontent_test.go | ||
extractmentions_test.go | ||
extractsensitive_test.go | ||
extractvisibility_test.go | ||
interfaces.go |