Add support for general media attachments to release notes channel messages.

This commit is contained in:
Cody Henthorne
2023-01-03 22:53:58 -05:00
committed by Greyson Parrelli
parent 98dfd5bfbf
commit 43fe789807
3 changed files with 22 additions and 18 deletions

View File

@@ -43,9 +43,9 @@ class InternalSettingsRepository(context: Context) {
body = body,
threadId = threadId,
messageRanges = bodyRangeList.build(),
image = "/static/release-notes/signal.png",
imageWidth = 1800,
imageHeight = 720
media = "/static/release-notes/signal.png",
mediaWidth = 1800,
mediaHeight = 720
)
SignalDatabase.messages.insertBoostRequestMessage(recipientId, threadId)