Просмотр исходного кода

Pending follow notifications are shown as "Follow Request".

default 1 год назад
Родитель
Сommit
0ddbe7e53b
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      html.c

+ 3 - 0
html.c

@@ -2711,6 +2711,9 @@ xs_str *html_notifications(snac *user, int skip, int show)
                 label = wrk;
             }
         }
+        else
+        if (strcmp(type, "Follow") == 0 && pending_check(user, actor_id))
+            label = L("Follow Request");
 
         xs *s_date = xs_crop_i(xs_dup(date), 0, 10);