mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 22:06:29 +03:00
- sort garbage to the beginning, readable text to the end - instead of `%20`, make use of `+` to encode spaces - shorter invite links and smaller QR codes by truncation of the names the truncation of the name uses chars() which does not respect grapheme clusters, so that last character may be wrong. not sure if there is a nice and easy alternative, but maybe it's good engoug - the real, full name will come over the wire (exiting truncate() truncates on word boundaries, which is maybe too soft here - names may be long, depending on the language, and not contain any space) moreover, this resolves the "name too long" issue from https://github.com/chatmail/core/issues/7015 --------- Co-authored-by: Hocuri <hocuri@gmx.de>