mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Implement support for usernames
This commit is contained in:
parent
03f193b34c
commit
9f60ed534a
18 changed files with 440 additions and 46 deletions
|
@ -10,6 +10,7 @@ import org.asamk.signal.manager.api.Group;
|
|||
import org.asamk.signal.manager.api.Identity;
|
||||
import org.asamk.signal.manager.api.InactiveGroupLinkException;
|
||||
import org.asamk.signal.manager.api.InvalidDeviceLinkException;
|
||||
import org.asamk.signal.manager.api.InvalidUsernameException;
|
||||
import org.asamk.signal.manager.api.Message;
|
||||
import org.asamk.signal.manager.api.MessageEnvelope;
|
||||
import org.asamk.signal.manager.api.NotPrimaryDeviceException;
|
||||
|
@ -151,6 +152,16 @@ public class DbusManagerImpl implements Manager {
|
|||
updateProfile.isDeleteAvatar());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String setUsername(final String username) throws IOException, InvalidUsernameException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteUsername() throws IOException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unregister() throws IOException {
|
||||
signal.unregister();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue