Ver código fonte

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

default 1 ano atrás
pai
commit
cd328249bb
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      data.c

+ 1 - 0
data.c

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