| 1256 | } |
| 1257 | |
| 1258 | bool ChatRootView::hasImageAttachments(const QStringList &attachments) const |
| 1259 | { |
| 1260 | for (const QString &filePath : attachments) { |
| 1261 | if (isImageFile(filePath)) { |
| 1262 | return true; |
| 1263 | } |
| 1264 | } |
| 1265 | return false; |
| 1266 | } |
| 1267 | |
| 1268 | bool ChatRootView::isImageFile(const QString &filePath) const |
| 1269 | { |
nothing calls this directly
no outgoing calls
no test coverage detected