mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 18:08:54 +00:00
Adding a link bookmark fills the name from the page's title and saved it as is.
The server rejects a display name longer than 64 characters
(model.DisplayNameMaxRunes) with only "Could not save bookmark", so bookmarking
a page with a long title failed. mattermost.com's title is now 93 characters,
which is why channel_bookmark_link_external started failing on iOS and Android.
Names from a page title, a file name or typing are cut to 64 characters,
counted as the server counts them so a character is never split, and the name
field takes at most 64, as in the webapp.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| actions | ||
| client | ||
| components | ||
| constants | ||
| context | ||
| database | ||
| helpers | ||
| hooks | ||
| i18n | ||
| init | ||
| keyboard | ||
| managers | ||
| products | ||
| queries | ||
| routes | ||
| screens | ||
| store | ||
| utils | ||