commit 344356e
default
·
2023-06-01 08:37:12 +0000 UTC
parent 76aa864
Fixed notification bug.
1 files changed,
+1,
-0
+1,
-0
1@@ -512,6 +512,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
2 if (xs_type(objid) == XSTYPE_DICT)
3 objid = xs_dict_get(objid, "id");
4 else
5+ if (objid == NULL)
6 objid = id;
7
8 if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {