From be6919b7416bf8d0f30674791764f604f47f9b06 Mon Sep 17 00:00:00 2001 From: Sid Sun Date: Fri, 24 Jan 2025 23:51:10 +1100 Subject: [PATCH] Fix: Save SE object if topic exists and new user is added Signed-off-by: Sid Sun --- pkg/subscription_manager/subscription_manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/subscription_manager/subscription_manager.go b/pkg/subscription_manager/subscription_manager.go index 1fe6ebb..9569736 100644 --- a/pkg/subscription_manager/subscription_manager.go +++ b/pkg/subscription_manager/subscription_manager.go @@ -30,6 +30,7 @@ func SubscribeChatToTopic(topic string, chatID int64) { } } subscriptions[topic] = append(subscriptions[topic], chatID) + saveToSE() } func GetChatSubscriptions(chatID int64) []string {