{"thread":{"id":"63833","subject":"Re: [PATCH] imap-send: add option to mark sent messages as read or unread","startedAt":"2025-07-23T17:55:23Z","lastAt":"2025-07-23T17:55:23Z","messageCount":1,"participants":["Aditya Garg"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"522592","messageId":"PN3PR01MB9597E3E9F6356FC4DF651DA0B85FA@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM","threadId":"63833","inReplyTo":null,"subject":"Re: [PATCH] imap-send: add option to mark sent messages as read or unread","fromName":"Aditya Garg","fromEmail":"gargaditya08@live.com","sentAt":"2025-07-23T17:55:18Z","receivedAt":"2025-07-23T17:55:23Z","isPatch":true,"sender":{"key":"gargaditya08@live.com","avatar":"https://avatars.githubusercontent.com/u/85610623?v=4"},"body":"\n\n> On 23 Jul 2025, at 11:22 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> \n> ﻿Junio C Hamano <gitster@pobox.com> writes:\n> \n>> Aditya Garg <gargaditya08@live.com> writes:\n>>> +    if (mark_seen) {\n>>> +        curl_easy_setopt(curl, CURLOPT_UPLOAD_FLAGS, CURLULFLAG_SEEN);\n>>> +    } else {\n>>> +        curl_easy_setopt(curl, CURLOPT_UPLOAD_FLAGS, 0L);\n>>> +    }\n>>> +\n>> Why so many braces around single-statement blocks?\n>> According to\n>> https://github.com/curl/curl/blob/master/docs/libcurl/symbols-in-versions\n>> CURLULFLAG_SEEN first appeared in 8.13.0; INSTALL says we require 7.61.0\n>> or later, so this may be OK.\n> \n> It might be obvious, but I meant \"may not be OK\" here.\n\nI understand. It anyways isn't a very important feature."}]}