1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-18 16:35:42 +00:00

Set 'last_modified' in repo info

This commit is contained in:
cuihaikuo
2017-06-26 18:30:58 +08:00
parent fd0dbd0160
commit c98978c245
3 changed files with 8 additions and 2 deletions

View File

@@ -3022,8 +3022,8 @@ seaf_fill_repo_obj_from_commit (GList **repos)
NULL);
g_object_set (repo,
"repo_name", commit->repo_name, "repo_desc", commit->repo_desc,
"last_modified", commit->ctime, "repaired", commit->repaired,
"last_modifier", commit->creator_name, NULL);
"last_modified", commit->ctime, "last_modify", commit->ctime,
"repaired", commit->repaired, "last_modifier", commit->creator_name, NULL);
if (commit->encrypted && commit->enc_version == 2)
g_object_set (repo, "random_key", commit->random_key, NULL);