فهرست منبع

Fixed a bug introduced yesterday that cause double notifications

Stefano Marinelli 2 سال پیش
والد
کامیت
6890a15787
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      activitypub.c

+ 0 - 2
activitypub.c

@@ -799,8 +799,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
     if (strcmp(utype, "Follow") == 0)
     if (strcmp(utype, "Follow") == 0)
         objid = actor;
         objid = actor;
 
 
-    notify_add(snac, type, utype, actor, objid != NULL ? objid : id);
-
     /* ntfy */
     /* ntfy */
     char *ntfy_server = xs_dict_get(snac->config, "ntfy_server");
     char *ntfy_server = xs_dict_get(snac->config, "ntfy_server");
     char *ntfy_token  = xs_dict_get(snac->config, "ntfy_token");
     char *ntfy_token  = xs_dict_get(snac->config, "ntfy_token");