Răsfoiți Sursa

Fixed typo.

default 3 ani în urmă
părinte
comite
6ffbb3a4fc
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -650,7 +650,7 @@ void notify(snac *snac, char *type, char *utype, char *actor, char *msg)
         return;
         return;
 
 
     if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {
     if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {
-        object = xs_str_get(msg, "object");
+        object = xs_dict_get(msg, "object");
 
 
         if (xs_is_null(object))
         if (xs_is_null(object))
             return;
             return;