Another tweak in notify().
This commit is contained in:
@@ -511,9 +511,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
|
||||
|
||||
if (xs_type(objid) == XSTYPE_DICT)
|
||||
objid = xs_dict_get(objid, "id");
|
||||
else
|
||||
if (objid == NULL)
|
||||
objid = id;
|
||||
|
||||
if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {
|
||||
/* if it's not an admiration about something by us, done */
|
||||
|
||||
Reference in New Issue
Block a user