From 7f70fe4d64fb36aadf073fb005f8c29ef3bfe58f Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Sat, 1 Oct 2022 14:29:02 +0400 Subject: [PATCH] core: fix /image command error messages (closes #1153) (#1156) --- src/Simplex/Chat/View.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Chat/View.hs b/src/Simplex/Chat/View.hs index d1cb4dcc87..5c8ecb80b1 100644 --- a/src/Simplex/Chat/View.hs +++ b/src/Simplex/Chat/View.hs @@ -935,8 +935,8 @@ viewChatError = \case CEFileSend fileId e -> ["error sending file " <> sShow fileId <> ": " <> sShow e] CEFileRcvChunk e -> ["error receiving file: " <> plain e] CEFileInternal e -> ["file error: " <> plain e] - CEFileImageType _ -> ["max image size: " <> sShow maxImageSize <> " bytes, resize it or send as a file using " <> highlight' "/f"] - CEFileImageSize _ -> ["image type must be JPG, send as a file using " <> highlight' "/f"] + CEFileImageType _ -> ["image type must be jpg, send as a file using " <> highlight' "/f"] + CEFileImageSize _ -> ["max image size: " <> sShow maxImageSize <> " bytes, resize it or send as a file using " <> highlight' "/f"] CEFileNotReceived fileId -> ["file " <> sShow fileId <> " not received"] CEInvalidQuote -> ["cannot reply to this message"] CEInvalidChatItemUpdate -> ["cannot update this item"]