summaryrefslogtreecommitdiff
path: root/Omni/Bild
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-14 20:57:09 -0500
committerBen Sima <ben@bensima.com>2025-12-14 20:57:09 -0500
commit89d9fc7449ab2e799742470c3294c6e062e6de0b (patch)
tree2eeb4d6f1bea050b1b20596f0ca53504184c3511 /Omni/Bild
parent23edd144ed952802f9ea0fd1103a1e83db916b89 (diff)
telegram: switch to HaskellNet for IMAP, fix message delivery bugs
- Replace openssl s_client with HaskellNet/HaskellNet-SSL for proper IMAP client support (better protocol handling, no manual parsing) - Add HaskellNet deps to Haskell.nix with doJailbreak for version bounds - Fix lost messages: sendMessageReturningId now throws on API errors instead of returning Nothing (which was incorrectly treated as success) - Auto-retry markdown parse errors as plain text - Hardcode benChatId for reliable email check loop startup
Diffstat (limited to 'Omni/Bild')
-rw-r--r--Omni/Bild/Deps/Haskell.nix2
-rw-r--r--Omni/Bild/Haskell.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/Omni/Bild/Deps/Haskell.nix b/Omni/Bild/Deps/Haskell.nix
index 21325ec..138a80e 100644
--- a/Omni/Bild/Deps/Haskell.nix
+++ b/Omni/Bild/Deps/Haskell.nix
@@ -22,6 +22,8 @@
"fast-logger"
"filepath"
"github"
+ "HaskellNet"
+ "HaskellNet-SSL"
"haskeline"
"hostname"
"http-types"
diff --git a/Omni/Bild/Haskell.nix b/Omni/Bild/Haskell.nix
index e55dee9..5754253 100644
--- a/Omni/Bild/Haskell.nix
+++ b/Omni/Bild/Haskell.nix
@@ -21,6 +21,8 @@ in rec {
cmark = doJailbreak sup.cmark;
docopt = buildCabal sel "docopt";
filelock = dontCheck sup.filelock;
+ HaskellNet = doJailbreak sup.HaskellNet;
+ HaskellNet-SSL = doJailbreak sup.HaskellNet-SSL;
linear-generics = doJailbreak sup.linear-generics;
req = doJailbreak sup.req;
servant-auth = doJailbreak sup.servant-auth;