diff options
| author | 2022-12-23 12:32:59 +0100 | |
|---|---|---|
| committer | 2022-12-23 12:32:59 +0100 | |
| commit | f9f6d965797e67ca76fb5e5464315961fb2e9d70 (patch) | |
| tree | ac2a72af41bfcaaa56e9ca2e59fd763eabf8f4c6 | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | penes-snac2-f9f6d965797e67ca76fb5e5464315961fb2e9d70.tar.gz penes-snac2-f9f6d965797e67ca76fb5e5464315961fb2e9d70.tar.xz penes-snac2-f9f6d965797e67ca76fb5e5464315961fb2e9d70.zip | |
Corrected a debug level.
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 17b038f..ceb5d37 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -99,7 +99,8 @@ int timeline_request(snac *snac, char **id, char *referrer) | |||
| 99 | *id = xs_dict_get(object, "id"); | 99 | *id = xs_dict_get(object, "id"); |
| 100 | 100 | ||
| 101 | if (strcmp(*id, oid) != 0) | 101 | if (strcmp(*id, oid) != 0) |
| 102 | snac_debug(snac, 0, xs_fmt("canonic id for %s is %s", oid, *id)); | 102 | snac_debug(snac, 1, |
| 103 | xs_fmt("timeline_request canonical id for %s is %s", oid, *id)); | ||
| 103 | 104 | ||
| 104 | if (!xs_is_null(type) && strcmp(type, "Note") == 0) { | 105 | if (!xs_is_null(type) && strcmp(type, "Note") == 0) { |
| 105 | char *actor = xs_dict_get(object, "attributedTo"); | 106 | char *actor = xs_dict_get(object, "attributedTo"); |