From e826c9aa0802738973624e8e6e38b39f45400d0c Mon Sep 17 00:00:00 2001 From: Abner Coimbre Date: Sun, 25 Jan 2026 16:07:20 -0800 Subject: [PATCH] Require client version to be broadcast --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.go b/main.go index 3f17810..1fea2a9 100644 --- a/main.go +++ b/main.go @@ -56,11 +56,16 @@ type Config struct { } `toml:"postmark"` } +const ( + MEETUP_INVITE_CLIENT_VERSION = "v3.0.0" +) + func retrieveSubscribers(cfg *Config) ([]string, error) { /* Prepare request payload */ /* *** */ payload := map[string]string{ "city": cfg.HMC.City, + "client": MEETUP_INVITE_CLIENT_VERSION, } payloadBytes, err := json.Marshal(payload) @@ -230,6 +235,7 @@ func bloggify(cfg *Config, subject, body string, isLive bool) (string, bool) { "email": cfg.Postmark.SenderEmail, "subject": subject, "body": body, + "client": MEETUP_INVITE_CLIENT_VERSION, } payloadBytes, err := json.Marshal(payload)