kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix padding problem.
rodzic
c94a7b1eff
commit
82bd75fb75
|
@ -47,7 +47,7 @@ public class PushTransportDetails implements TransportDetails {
|
|||
}
|
||||
}
|
||||
|
||||
byte[] strippedMessage = new byte[messageWithPadding.length - paddingStart];
|
||||
byte[] strippedMessage = new byte[paddingStart];
|
||||
System.arraycopy(messageWithPadding, 0, strippedMessage, 0, strippedMessage.length);
|
||||
|
||||
return strippedMessage;
|
||||
|
|
Ładowanie…
Reference in New Issue