mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Adapt log level
This commit is contained in:
parent
467a48bac5
commit
ca52c01031
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ public class Manager implements Closeable {
|
||||||
|
|
||||||
public void checkAccountState() throws IOException {
|
public void checkAccountState() throws IOException {
|
||||||
if (account.getLastReceiveTimestamp() == 0) {
|
if (account.getLastReceiveTimestamp() == 0) {
|
||||||
logger.warn("The Signal protocol expects that incoming messages are regularly received.");
|
logger.info("The Signal protocol expects that incoming messages are regularly received.");
|
||||||
} else {
|
} else {
|
||||||
var diffInMilliseconds = System.currentTimeMillis() - account.getLastReceiveTimestamp();
|
var diffInMilliseconds = System.currentTimeMillis() - account.getLastReceiveTimestamp();
|
||||||
long days = TimeUnit.DAYS.convert(diffInMilliseconds, TimeUnit.MILLISECONDS);
|
long days = TimeUnit.DAYS.convert(diffInMilliseconds, TimeUnit.MILLISECONDS);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue