mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Another tweak in notify().
This commit is contained in:
parent
344356e488
commit
e87d5b7e20
1 changed files with 0 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue