Explorar el Código

Don't show polls as 'votable' from the public timeline.

default hace 2 años
padre
commit
a658e5d1c7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      html.c

+ 3 - 0
html.c

@@ -1443,6 +1443,9 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local,
 
         xs_html *poll = xs_html_tag("div", NULL);
 
+        if (local)
+            closed = 1; /* non-identified page; show as closed */
+        else
         if (xs_dict_get(msg, "closed"))
             closed = 2;
         else