Skip to content

Commit

Permalink
fix(deps): Upgrade Awala SDK to v1.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Oct 28, 2023
1 parent 9b26dbe commit feebe18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dependencies {
implementation 'androidx.sharetarget:sharetarget:1.2.0'

// Awala-powered messaging
implementation 'com.github.relaycorp:awala-endpoint-android:1.14.0'
implementation 'com.github.relaycorp:awala-endpoint-android:1.14.3'
def bouncy_castle_version = "1.70"
implementation "org.bouncycastle:bcprov-jdk15on:$bouncy_castle_version"
implementation "org.bouncycastle:bcpkix-jdk15on:$bouncy_castle_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import tech.relaycorp.awaladroid.messaging.Message
import tech.relaycorp.letro.awala.message.AwalaIncomingMessageContent
import tech.relaycorp.letro.awala.processor.AwalaMessageProcessor
import tech.relaycorp.letro.conversation.attachments.AttachmentsRepository
Expand Down Expand Up @@ -54,7 +55,7 @@ object ConversationsModule {
@Provides
@MessageSizeLimitBytes
fun provideMessageSizeLimit(): Int {
return MESSAGE_SIZE_LIMIT_BYTES
return Message.MAX_CONTENT_SIZE
}

@Module
Expand Down Expand Up @@ -125,5 +126,3 @@ annotation class NewMessageAwalaProcessor

@Qualifier
annotation class MessageSizeLimitBytes

private const val MESSAGE_SIZE_LIMIT_BYTES = 8_388_608 // 8MB

0 comments on commit feebe18

Please sign in to comment.