Browse Source

Added a type Note to poll options.

default 1 year ago
parent
commit
73a5fc6f5b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      activitypub.c

+ 1 - 0
activitypub.c

@@ -1558,6 +1558,7 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach,
             }
 
             if (xs_set_add(&seen, v2) == 1) {
+                d = xs_dict_append(d, "type",    "Note");
                 d = xs_dict_append(d, "name",    v2);
                 d = xs_dict_append(d, "replies", replies);
                 o = xs_list_append(o, d);