Fix various issues with release notes channel.

This commit is contained in:
Cody Henthorne
2022-02-11 10:12:09 -05:00
committed by GitHub
parent 90e6dd3d7d
commit 84296a3860
14 changed files with 75 additions and 67 deletions

View File

@@ -24,6 +24,8 @@ object ReleaseChannel {
body: String,
threadId: Long,
image: String? = null,
imageWidth: Int = 0,
imageHeight: Int = 0,
serverUuid: String? = UUID.randomUUID().toString(),
messageRanges: BodyRangeList? = null
): MessageDatabase.InsertResult? {
@@ -36,8 +38,8 @@ object ReleaseChannel {
null,
Optional.absent(),
Optional.absent(),
0,
0,
imageWidth,
imageHeight,
Optional.absent(),
Optional.of(image),
false,