update naming of functions, add option to get count of unread messages of user

This commit is contained in:
2026-04-21 19:50:14 +02:00
parent a554c870ef
commit 422c4eb419
13 changed files with 178 additions and 484 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ func GetWholeUser(ctx context.Context, user *types.User) error {
return err
}
cache.CacheSaveUser(user)
cache.SaveUser(user)
return nil
}