]> nmode's Git Repositories - signal-cli/commitdiff
Update dependencies
authorAsamK <asamk@gmx.de>
Wed, 16 Oct 2019 17:06:00 +0000 (19:06 +0200)
committerAsamK <asamk@gmx.de>
Wed, 16 Oct 2019 17:27:42 +0000 (19:27 +0200)
.idea/codeStyles/Project.xml
build.gradle
src/main/java/org/asamk/signal/manager/Utils.java

index 2bf5e0cf4e7a5b81eb4b066f93ac2d311807365d..f26eeb331ef98586bb87785c729e8d1cc20e4539 100644 (file)
       <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
       <option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
     </codeStyleSettings>
+    <codeStyleSettings language="XML">
+      <option name="FORCE_REARRANGE_MODE" value="0" />
+      <arrangement>
+        <rules />
+      </arrangement>
+    </codeStyleSettings>
   </code_scheme>
 </component>
\ No newline at end of file
index 56d67bfddcb0528ef199e1adec5ede1a0e16428b..c40b30b2e2190a5303358fa63e42c68dbbe059ce 100644 (file)
@@ -20,8 +20,8 @@ repositories {
 }
 
 dependencies {
-    compile 'com.github.turasa:signal-service-java:2.13.8_unofficial_1'
-    compile 'org.bouncycastle:bcprov-jdk15on:1.62'
+    compile 'com.github.turasa:signal-service-java:2.13.9_unofficial_1'
+    compile 'org.bouncycastle:bcprov-jdk15on:1.64'
     compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
     compile 'org.freedesktop.dbus:dbus-java:2.7.0'
 }
index 4864dc163d45912f6ae345f7381fd3e199070118..38dd65b85fcb3a22ef133819ec8bed24fd0973dc 100644 (file)
@@ -69,7 +69,8 @@ class Utils {
         // TODO mabybe add a parameter to set the voiceNote, preview, width, height and caption option
         Optional<byte[]> preview = Optional.absent();
         Optional<String> caption = Optional.absent();
-        return new SignalServiceAttachmentStream(attachmentStream, mime, attachmentSize, Optional.of(attachmentFile.getName()), false, preview, 0, 0, caption, null);
+        Optional<String> blurHash = Optional.absent();
+        return new SignalServiceAttachmentStream(attachmentStream, mime, attachmentSize, Optional.of(attachmentFile.getName()), false, preview, 0, 0, caption, blurHash, null);
     }
 
     static StreamDetails createStreamDetailsFromFile(File file) throws IOException {