* Show and enforce the terminated state of a group
A group admin can permanently terminate a group. Afterwards the group is
read-only for everyone, not even an admin can send messages or start calls;
members keep access to the existing history. Other clients silently drop
messages sent to a terminated group.
Read the DecryptedGroup.terminated flag through GroupInfo.isTerminated() and:
- surface it in listGroups (json and plain text) and as the DBus IsTerminated
group property
- refuse to send to a terminated group locally (messages, reactions, typing and
group stories) rather than send one that other clients ignore
- drop incoming messages addressed to a terminated group
* Add terminateGroup command to terminate a group for everyone
Let a group admin permanently terminate a GroupV2 group via the
TerminateGroupAction (Groups.proto field 28, change epoch 7) the pinned library
already exposes as GroupsV2Operations.createTerminateGroup().
- GroupV2Helper.terminateGroup builds and commits the change
- GroupHelper.terminateGroup resolves/refreshes the group (v2 only), sends the
update to members and syncs storage, with the same conflict-retry as
updateGroup
- exposed through Manager.terminateGroup, the terminateGroup CLI/JSON-RPC command
and the DBus Group.terminateGroup method
---------
Co-authored-by: FailSpy <FailSpy@users.noreply.github.com>
* Dbus Identities and Trust
* Update src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java
* PR feedback updates
* Documentation and consistent case sensitivity
* doc for listIdentities and getIdentity
commit cd29144e81701698092f3334bee0c99c0f77f202
Merge: 14532be f884175
Author: AsamK <asamk@gmx.de>
Date: Sat Oct 30 12:46:59 2021 +0200
Merge branch 'master' into dbus_sendviewed
commit 14532befded0004d884f7f0ffa20a11ee5383c08
Author: John Freed <okgithub@johnfreed.com>
Date: Thu Oct 7 08:24:00 2021 +0200
update deliveryReceipt to conform
commit a9a6edaf3ff8ac81b1229db294d738f624688a0d
Author: John Freed <okgithub@johnfreed.com>
Date: Thu Oct 7 07:40:20 2021 +0200
implement viewedReceipt
for Dbus and Json -- note that this changes the JsonReceiptMessage
structure
update documentation
Closes#764
* implement Dbus isRegistered() methods
isRegistered(number<s>) returns a boolean
isRegistered(numbers<as>) returns an array of Booleans
* Dbus isRegistered() methods
restore isRegistered() and respond to other requests by AsamK