Skip to content

Commit

Permalink
Fix: Save SE object if topic exists and new user is added
Browse files Browse the repository at this point in the history
Signed-off-by: Sid Sun <sid@sidsun.com>
  • Loading branch information
Sid-Sun committed Jan 24, 2025
1 parent 383263e commit be6919b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/subscription_manager/subscription_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func SubscribeChatToTopic(topic string, chatID int64) {
}
}
subscriptions[topic] = append(subscriptions[topic], chatID)
saveToSE()
}

func GetChatSubscriptions(chatID int64) []string {
Expand Down

0 comments on commit be6919b

Please # to comment.