mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Fix typos (#1459)
This commit is contained in:
parent
db9acaf4ff
commit
6f407ab509
5 changed files with 7 additions and 7 deletions
|
@ -471,7 +471,7 @@
|
||||||
- Improve exit code for message sending.
|
- Improve exit code for message sending.
|
||||||
Exit with 0 status code if the message was sent successfully to at least
|
Exit with 0 status code if the message was sent successfully to at least
|
||||||
one recipient, otherwise exit with status code 2 or 4 (for untrusted).
|
one recipient, otherwise exit with status code 2 or 4 (for untrusted).
|
||||||
- Download profiles in parallel for improved perfomance
|
- Download profiles in parallel for improved performance
|
||||||
- `--verbose` flag can be specified multiple times for additional log output
|
- `--verbose` flag can be specified multiple times for additional log output
|
||||||
- Enable more security options for systemd service file
|
- Enable more security options for systemd service file
|
||||||
- Rename sandbox to staging environment, to match the upstream name.
|
- Rename sandbox to staging environment, to match the upstream name.
|
||||||
|
|
|
@ -127,7 +127,7 @@ version installed, you can replace `./gradlew` with `gradle` in the following st
|
||||||
It is possible to build a native binary with [GraalVM](https://www.graalvm.org). This is still experimental and will not
|
It is possible to build a native binary with [GraalVM](https://www.graalvm.org). This is still experimental and will not
|
||||||
work in all situations.
|
work in all situations.
|
||||||
|
|
||||||
1. [Install GraalVM and setup the enviroment](https://www.graalvm.org/docs/getting-started/#install-graalvm)
|
1. [Install GraalVM and setup the environment](https://www.graalvm.org/docs/getting-started/#install-graalvm)
|
||||||
2. Execute Gradle:
|
2. Execute Gradle:
|
||||||
|
|
||||||
./gradlew nativeCompile
|
./gradlew nativeCompile
|
||||||
|
|
|
@ -147,7 +147,7 @@ final class SignalWebSocketHealthMonitor implements HealthMonitor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
logger.warn("Error occured in KeepAliveSender, ignoring ...", e);
|
logger.warn("Error occurred in KeepAliveSender, ignoring ...", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -733,7 +733,7 @@ public class GroupStore {
|
||||||
final var expirationTime = resultSet.getInt("expiration_time");
|
final var expirationTime = resultSet.getInt("expiration_time");
|
||||||
final var blocked = resultSet.getBoolean("blocked");
|
final var blocked = resultSet.getBoolean("blocked");
|
||||||
final var archived = resultSet.getBoolean("archived");
|
final var archived = resultSet.getBoolean("archived");
|
||||||
final var storagRecord = resultSet.getBytes("storage_record");
|
final var storageRecord = resultSet.getBytes("storage_record");
|
||||||
return new GroupInfoV1(GroupId.v1(groupId),
|
return new GroupInfoV1(GroupId.v1(groupId),
|
||||||
groupIdV2 == null ? null : GroupId.v2(groupIdV2),
|
groupIdV2 == null ? null : GroupId.v2(groupIdV2),
|
||||||
name,
|
name,
|
||||||
|
@ -742,7 +742,7 @@ public class GroupStore {
|
||||||
expirationTime,
|
expirationTime,
|
||||||
blocked,
|
blocked,
|
||||||
archived,
|
archived,
|
||||||
storagRecord);
|
storageRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
private GroupInfoV2 getGroupV2ByV1Id(final Connection connection, final GroupIdV1 groupId) throws SQLException {
|
private GroupInfoV2 getGroupV2ByV1Id(final Connection connection, final GroupIdV1 groupId) throws SQLException {
|
||||||
|
|
|
@ -35,8 +35,8 @@ public class TrustCommand implements JsonRpcLocalCommand {
|
||||||
public void handleCommand(
|
public void handleCommand(
|
||||||
final Namespace ns, final Manager m, final OutputWriter outputWriter
|
final Namespace ns, final Manager m, final OutputWriter outputWriter
|
||||||
) throws CommandException {
|
) throws CommandException {
|
||||||
var recipentString = ns.getString("recipient");
|
var recipientString = ns.getString("recipient");
|
||||||
var recipient = CommandUtil.getSingleRecipientIdentifier(recipentString, m.getSelfNumber());
|
var recipient = CommandUtil.getSingleRecipientIdentifier(recipientString, m.getSelfNumber());
|
||||||
if (Boolean.TRUE.equals(ns.getBoolean("trust-all-known-keys"))) {
|
if (Boolean.TRUE.equals(ns.getBoolean("trust-all-known-keys"))) {
|
||||||
try {
|
try {
|
||||||
final var res = m.trustIdentityAllKeys(recipient);
|
final var res = m.trustIdentityAllKeys(recipient);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue