feat: compress images before sending
This commit is contained in:
parent
72833f6f16
commit
664346e8a9
9 changed files with 241 additions and 15 deletions
|
|
@ -33,6 +33,8 @@ const val LOCK_SCREEN_SENDER_MESSAGE = 1
|
|||
const val LOCK_SCREEN_SENDER = 2
|
||||
const val LOCK_SCREEN_NOTHING = 3
|
||||
|
||||
const val IMAGE_COMPRESS_SIZE = 1_048_576L
|
||||
|
||||
fun refreshMessages() {
|
||||
EventBus.getDefault().post(Events.RefreshMessages())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue