Ver código fonte

Another tweak in notify().

default 3 anos atrás
pai
commit
e87d5b7e20
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0 3
      activitypub.c

+ 0 - 3
activitypub.c

@@ -511,9 +511,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
 
 
     if (xs_type(objid) == XSTYPE_DICT)
     if (xs_type(objid) == XSTYPE_DICT)
         objid = xs_dict_get(objid, "id");
         objid = xs_dict_get(objid, "id");
-    else
-    if (objid == NULL)
-        objid = id;
 
 
     if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {
     if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {
         /* if it's not an admiration about something by us, done */
         /* if it's not an admiration about something by us, done */