From 1a1e6b681032286c14fa8c330e6bacd52c9a3355 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 11 Dec 2021 10:56:50 +0100 Subject: Announce missing in is_response_activity() --- Zotlabs/Lib/ActivityStreams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php index fa38c569e..09e1679ac 100644 --- a/Zotlabs/Lib/ActivityStreams.php +++ b/Zotlabs/Lib/ActivityStreams.php @@ -285,7 +285,7 @@ class ActivityStreams { if (!$s) { return false; } - return (in_array($s, ['Like', 'Dislike', 'Flag', 'Block', 'Accept', 'Reject', 'TentativeAccept', 'TentativeReject', 'emojiReaction', 'EmojiReaction', 'EmojiReact'])); + return (in_array($s, ['Like', 'Dislike', 'Flag', 'Block', 'Announce', 'Accept', 'Reject', 'TentativeAccept', 'TentativeReject', 'emojiReaction', 'EmojiReaction', 'EmojiReact'])); } /** -- cgit v1.2.3 From 5e9d267959cc49ce71b6ece60abb10ed5b8419e7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 14 Dec 2021 11:04:26 +0100 Subject: mod sse_bs: when processing returned mids, do not assume they are b64 encoded --- Zotlabs/Module/Sse_bs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php index eaaeae7b7..3a13b0a6f 100644 --- a/Zotlabs/Module/Sse_bs.php +++ b/Zotlabs/Module/Sse_bs.php @@ -124,7 +124,7 @@ class Sse_bs extends Controller { $str = ''; foreach($arr as $a) { - $mids[] = '\'' . dbesc(@base64url_decode(substr($a,4))) . '\''; + $mids[] = '\'' . dbesc(unpack_link_id($a)) . '\''; } $str = implode(',', $mids); -- cgit v1.2.3 From b37165c62b1037e504d4b68a507241acf97ede5e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 14 Dec 2021 11:09:27 +0100 Subject: changelog --- CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 33c8c273a..931aa3872 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +Hubzilla 6.4.2 (2021-12-14) + - Fix issue in mod sse_bs where returning message id's were assumed to be base64 encoded + - Fix announce activity type not registered as response activity + + Hubzilla 6.4.1 (2021-12-03) - Fix hubloc_site_id in fix_system_urls() on detected site rename events - Fix duplicate deliveries if duplicate hublocs available -- cgit v1.2.3