mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Added a comment about Announces of non-Notes.
This commit is contained in:
parent
7bbd47e4cc
commit
f1294bd3d4
1 changed files with 5 additions and 0 deletions
|
@ -1497,6 +1497,11 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
|||
|
||||
timeline_request(snac, &object, &wrk);
|
||||
|
||||
/* Note: implementations like lemmy send announces about objects
|
||||
that are not of the 'Note' type; these objects are not stored,
|
||||
so the following object_get() will fail even if the object
|
||||
was correctly requested */
|
||||
|
||||
if (valid_status(object_get(object, &a_msg))) {
|
||||
char *who = xs_dict_get(a_msg, "attributedTo");
|
||||
|
||||
|
|
Loading…
Reference in a new issue