From 5935a780f912f25762ea6a8edadf23cd71288039 Mon Sep 17 00:00:00 2001 From: Alex Marston Date: Wed, 21 Feb 2024 13:25:42 +0000 Subject: [PATCH] add messageReplyOption to endpoint to support threaded replies --- internal/providers/google_chat/message.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/providers/google_chat/message.go b/internal/providers/google_chat/message.go index d31a1d5..c9e784f 100644 --- a/internal/providers/google_chat/message.go +++ b/internal/providers/google_chat/message.go @@ -66,6 +66,7 @@ func (m *GoogleChatManager) sendMessage(msg ChatMessage, threadKey string) error } q := u.Query() q.Set("threadKey", threadKey) + q.Set("messageReplyOption", "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD") u.RawQuery = q.Encode() endpoint := u.String()