fileLinkErrorWarning builds a user-facing warning when a database error prevented linking files to a chat.
(count int)
| 6388 | // fileLinkErrorWarning builds a user-facing warning when a |
| 6389 | // database error prevented linking files to a chat. |
| 6390 | func fileLinkErrorWarning(count int) string { |
| 6391 | return fmt.Sprintf("%d file(s) could not be linked due to a server error", count) |
| 6392 | } |
| 6393 | |
| 6394 | // fetchChatFileMetadata returns metadata for all files linked to |
| 6395 | // the given chat. Errors are logged and result in a nil return |
no outgoing calls
no test coverage detected