Commit graph

5 commits

Author SHA1 Message Date
Vivien F
857a1fd445
feat: add conversation shortcuts (#280)
* Declare intent filter to open ThreadActivity from shortcut

* Add SimpleContact utilities

* Create the ShortcutHelper class

* update shortcuts on sending message, notification received and when opening thread.

* format code

* Avoid error when getConversations is called from UI thread

* Changed ranking of create new conversation shortcut to 0

* removed exception handling

* Run shortcut registration in background

* Changed shortcut creation and usage report

* do not create shortcut on opening conversation

* optimize imports

* Delete shortcut with conversation

* Show main activity if conversation does not exist

* removed old intent filter

* Specify Fossify thread activity in shortcut's intent

* Avoid dismissing activity if it's a new conversation

* Try to fix private contacts appearing as numbers

* Removed intent sanitizer since activity isn't exported anymore

* Update shortcut label and picture when changing conversation name

* refactor: cleanup code

* refactor: collapse empty tag

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-04 14:15:01 +05:30
Naveen Singh
f0ef2bfe10
Fix short code check!
It was returning true when it should return false

Broke it while trying to fix https://github.com/FossifyOrg/Messages/issues/115
2025-01-04 16:20:29 +05:30
Naveen Singh
2da3ccad82
Don't treat emails as short codes
Closes https://github.com/FossifyOrg/Messages/issues/115
2025-01-04 15:52:01 +05:30
Naveen Singh
d4d914abf4
Minor code improvement 2025-01-04 15:51:44 +05:30
Naveen
e2f83f49da
Rename package to org.fossify.messages 2024-01-18 01:05:03 +05:30