diff sat/plugins/plugin_comp_ap_gateway/constants.py @ 3844:65e5718e7710

component AP gateway: `Announce` activity implementation: `Announce` and `Undo` of `Announce` are now implemented and converted to suitable XEP-0277 "repeat" items, or retract. rel 370
author Goffi <goffi@goffi.org>
date Thu, 14 Jul 2022 12:55:30 +0200
parents 381340b9a9ee
children cc13efdd8360
line wrap: on
line diff
--- a/sat/plugins/plugin_comp_ap_gateway/constants.py	Thu Jul 14 12:55:30 2022 +0200
+++ b/sat/plugins/plugin_comp_ap_gateway/constants.py	Thu Jul 14 12:55:30 2022 +0200
@@ -67,7 +67,7 @@
 ACTIVITY_TARGET_MANDATORY = ("Add", "Remove")
 # activities which can be used with Shared Inbox (i.e. with no account specified)
 # must be lowercase
-ACTIVIY_NO_ACCOUNT_ALLOWED = ("create", "delete")
+ACTIVIY_NO_ACCOUNT_ALLOWED = ("create", "delete", "announce", "undo")
 # maximum number of parents to retrieve when comments_max_depth option is set
 COMMENTS_MAX_PARENTS = 100
 # maximum size of avatar, in bytes