1 package org
.asamk
.signal
.commands
;
3 import net
.sourceforge
.argparse4j
.inf
.Namespace
;
4 import net
.sourceforge
.argparse4j
.inf
.Subparser
;
6 import org
.asamk
.signal
.manager
.Manager
;
7 import org
.whispersystems
.signalservice
.api
.crypto
.UntrustedIdentityException
;
9 import java
.io
.IOException
;
11 public class SendContactsCommand
implements LocalCommand
{
14 public void attachToSubparser(final Subparser subparser
) {
15 subparser
.help("Send a synchronization message with the local contacts list to all linked devices.");
19 public int handleCommand(final Namespace ns
, final Manager m
) {
23 } catch (IOException
| UntrustedIdentityException e
) {
24 System
.err
.println("SendContacts error: " + e
.getMessage());