setting to limit number of messages shown

This commit is contained in:
lowcarbdev
2026-04-29 23:11:50 -06:00
parent 32d6110733
commit 250b9030ea
5 changed files with 71 additions and 26 deletions
+4 -2
View File
@@ -16,14 +16,16 @@ type Settings struct {
// ConversationSettings contains settings for the conversation view
type ConversationSettings struct {
ShowCalls bool `json:"show_calls"`
ShowCalls bool `json:"show_calls"`
MessageLimit int `json:"message_limit"`
}
// GetDefaultSettings returns the default settings
func GetDefaultSettings() Settings {
return Settings{
Conversations: ConversationSettings{
ShowCalls: true,
ShowCalls: true,
MessageLimit: 100000,
},
}
}