Update libsignal-service

This commit is contained in:
AsamK 2023-09-23 16:21:19 +02:00
parent 73b4239744
commit f1d735f93d
22 changed files with 229 additions and 555 deletions

View file

@ -47,10 +47,10 @@ record JsonCallMessage(
}
}
public record Hangup(long id, String type, int deviceId, boolean isLegacy) {
public record Hangup(long id, String type, int deviceId) {
public static Hangup from(final MessageEnvelope.Call.Hangup hangup) {
return new Hangup(hangup.id(), hangup.type().name(), hangup.deviceId(), hangup.isLegacy());
return new Hangup(hangup.id(), hangup.type().name(), hangup.deviceId());
}
}