aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-common/src/meshbay_common/adminop.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-common/src/meshbay_common/adminop.py')
-rw-r--r--packages/meshbay-common/src/meshbay_common/adminop.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/adminop.py b/packages/meshbay-common/src/meshbay_common/adminop.py
index 9a56934..ed6e940 100644
--- a/packages/meshbay-common/src/meshbay_common/adminop.py
+++ b/packages/meshbay-common/src/meshbay_common/adminop.py
@@ -112,6 +112,14 @@ OP_ROOT_REMOVE = "root_remove"
OP_APP_DIRECTORIES = "app_directories"
OP_CHAT_DIRECTORY = "chat_directory"
OP_CHAT_LINK_PREVIEW = "chat_link_preview"
+# Open a new chat epoch for a group, by hand. The removals that matter open one
+# by themselves (member revoke/unpin, device revoke, gek_rotate); this is the
+# operator saying "do it anyway", which is the same shape as `gek_rotate` and
+# signed for the same reason.
+#
+# There is no op for *enabling* chat encryption. It is not a setting — MNP 2.0
+# has no plaintext chat to fall back to.
+OP_CHAT_EPOCH = "chat_epoch"
OP_ROOT_UPDATE = "root_update"
OP_ROOT_EJECT = "root_eject"
OP_ROOT_PLUG = "root_plug"