mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-19 05:58:57 +00:00
Adapt log level
This commit is contained in:
parent
467a48bac5
commit
ca52c01031
@ -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…
x
Reference in New Issue
Block a user