Fixed assignment issue.

This commit is contained in:
Benjamin A. Shelton 2026-10-23 21:28:38 -06:00
commit 7b7e29b6fb
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -69,7 +69,7 @@ func (d *Database) Birthdays() *BirthdayModel {
func (d *Database) Chats() *ChatModel {
if d.chats == nil {
return NewChatModel(d.ctx, d.db)
d.chats = NewChatModel(d.ctx, d.db)
}
return d.chats
}