mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Fixed notification bug.
This commit is contained in:
parent
76aa8649b5
commit
344356e488
@ -512,6 +512,7 @@ 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user