mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Changed message links
This commit is contained in:
@@ -118,9 +118,12 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
||||
Intent intent = getIntent();
|
||||
Uri data = (intent == null ? null : intent.getData());
|
||||
if (data != null &&
|
||||
"message".equals(data.getScheme()) &&
|
||||
("email.faircode.eu".equals(data.getHost()) ||
|
||||
BuildConfig.APPLICATION_ID.equals(data.getHost()))) {
|
||||
(("message".equals(data.getScheme()) &&
|
||||
("email.faircode.eu".equals(data.getHost()) ||
|
||||
BuildConfig.APPLICATION_ID.equals(data.getHost()))) ||
|
||||
("https".equals(data.getScheme()) &&
|
||||
"email.faircode.eu".equals(data.getHost()) &&
|
||||
"link".equals(data.getPath())))) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Bundle args = new Bundle();
|
||||
|
||||
@@ -269,7 +269,7 @@ public class EntityMessage implements Serializable {
|
||||
}
|
||||
|
||||
String getLink() {
|
||||
return "message://email.faircode.eu/link/#" + id;
|
||||
return "https://email.faircode.eu/link/#" + id;
|
||||
}
|
||||
|
||||
boolean isPlainOnly() {
|
||||
|
||||
Reference in New Issue
Block a user