Преглед на файлове

Really do what is described in previous commit.

default преди 2 години
родител
ревизия
ae8f5560e4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -1343,7 +1343,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local,
             if (!xs_is_null(name)) {
             if (!xs_is_null(name)) {
                 xs *href = NULL;
                 xs *href = NULL;
 
 
-                if (user != NULL)
+                if (!local && user != NULL)
                     href = xs_fmt("%s/people#%s", user->actor, p);
                     href = xs_fmt("%s/people#%s", user->actor, p);
                 else
                 else
                     href = xs_dup(xs_dict_get(actor_r, "id"));
                     href = xs_dup(xs_dict_get(actor_r, "id"));