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 {