瀏覽代碼

Touch the timeline in user_persist() (to avoid over-zealous caching in /public).

default 1 年之前
父節點
當前提交
cd328249bb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      data.c

+ 1 - 0
data.c

@@ -337,6 +337,7 @@ int user_persist(snac *snac, int publish)
         rename(bfn, fn);
 
     history_del(snac, "timeline.html_");
+    timeline_touch(snac);
 
     if (publish) {
         xs *a_msg = msg_actor(snac);