mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-06 14:10:37 +00:00
implement Dbus unregister/unlisten methods
implemented two related Dbus methods: - unregister - unlisten improved error handling for Dbus method: - link fixed logic error in Manager.java (line 876) because daemon could still be running after a particular account is unregistered. broadened WebSocketUnavailableException (line 913) to catch all IOExceptions caused by unregistering account while daemon is running. specified error message handling in ProvisioningManager.java and DbusSignalControlImpl.java for link subcommand. helper methods: - getPathConfig in Manager.java - private removeUserData in DbusSignalImpl.java
This commit is contained in:
parent
982e887c9f
commit
10274cdb3f
8 changed files with 210 additions and 11 deletions
|
@ -83,6 +83,12 @@ public interface Signal extends DBusInterface {
|
|||
|
||||
boolean isRegistered();
|
||||
|
||||
void unlisten() throws Error.Failure;
|
||||
void unlisten(boolean keepData) throws Error.Failure;
|
||||
|
||||
void unregister() throws Error.Failure;
|
||||
void unregister(boolean keepData) throws Error.Failure;
|
||||
|
||||
void updateProfile(
|
||||
String name, String about, String aboutEmoji, String avatarPath, boolean removeAvatar
|
||||
) throws Error.Failure;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue