mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
It's a w/a for "Space added before long group names after MIME serialization/deserialization" issue. DC itself never creates group names with leading/trailing whitespace, so it can be safely removed. On the sender side there's no trim() because group names anyway go through improve_single_line_input(). And I believe we should send the exact name we have in our db. Also there's no check for leading/trailing whitespace because there may be existing user databases with group names having such whitespaces.