summaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2024-11-24 17:39:52 +0300
committerGrail Finder <wohilas@gmail.com>2024-11-24 17:39:52 +0300
commit5dfb5584767e56180771ca08c4c27def3b2db536 (patch)
tree388ce3205db9f1bb615da305926574bdfe58437b /session.go
parent6625a8103bb70833e2399567cbbe7f3b4a8da429 (diff)
Feat: rename chatHEADmaster
Diffstat (limited to 'session.go')
-rw-r--r--session.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.go b/session.go
index 23d725d..7c035fa 100644
--- a/session.go
+++ b/session.go
@@ -37,6 +37,7 @@ func updateStorageChat(name string, msgs []models.MessagesStory) error {
return err
}
chat.UpdatedAt = time.Now()
+ // if new chat will create id
_, err = store.UpsertChat(chat)
return err
}