Commit Graph

22 Commits

Author SHA1 Message Date
Moez Bhatti 1acf727488 Ignore textonly field in mms 2018-01-14 02:41:34 -05:00
Moez Bhatti 093de1e0be Simplify mms part ContentType checks 2018-01-14 02:41:12 -05:00
Moez Bhatti df8e98aa25 Replace some hardcoded ints with PduHeader constants 2018-01-13 23:36:16 -05:00
Moez Bhatti 8bb835c2f5 Use live-unmanaged list of contacts in ComposeViewModel
Fixes #839
2018-01-12 23:35:37 -05:00
Moez Bhatti 634c7c707b Allow selection of any of contact's phone numbers 2018-01-12 22:59:45 -05:00
Moez Bhatti 050981faff Don't throw warning if MMS is of type application/smil 2018-01-12 19:07:29 -05:00
Moez Bhatti 161f673914 Add ability to attach and send photos 2018-01-12 18:46:47 -05:00
Moez Bhatti 4cfe674945 Fix crash when selecting contact without a conversation
Fixes #830
2018-01-12 01:19:05 -05:00
Moez Bhatti 647f1f6e09 Provide method to ensure non-empty message text preview for notifications and conversation list 2018-01-11 14:33:15 -05:00
Moez Bhatti 7728b62729 Use int instead of enum to store SMS delivery status 2018-01-11 14:00:17 -05:00
Moez Bhatti 840aaf7bbb Add copyright header to new files 2018-01-11 11:43:23 -05:00
Moez Bhatti f1e4d3df42 Create conversation when message is received from new sender 2018-01-10 20:17:43 -05:00
Moez Bhatti 665e1442c2 Simplify mapping from cursor to message 2018-01-10 16:02:02 -05:00
Moez Bhatti ce6dee2ef4 Sync MMS upon receiving 2018-01-10 15:47:47 -05:00
Moez Bhatti e655a5f178 Don't store data field in MmsPart unnecessarily 2018-01-09 16:46:54 -05:00
Moez Bhatti 33b817ead8 Fix parsing and display for text based MMS parts 2018-01-08 19:31:19 -05:00
Moez Bhatti 5c13f9b86e Load MMS parts lazily, display single image if available 2018-01-08 19:18:27 -05:00
Moez Bhatti 79e1fdb10e Correctly assign contentId for new messages 2018-01-05 01:40:34 -05:00
Moez Bhatti 24298b9419 Grab uri for message deletion before deleting 2018-01-05 01:01:53 -05:00
Moez Bhatti 613e3096a2 Ensure that MMS have unique keys 2018-01-05 00:09:45 -05:00
Moez Bhatti 487d90cf6b Upgrade Realm, use new query predicates for loading conversations 2018-01-02 17:40:31 -05:00
Moez Bhatti a5ce40a404 Reorganize package structure to adhere to offical Kotlin style guide 2018-01-02 17:13:27 -05:00