mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Link to message thread
This commit is contained in:
@@ -24,6 +24,7 @@ import android.app.PendingIntent;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.net.Uri;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -239,6 +240,10 @@ public class EntityMessage implements Serializable {
|
||||
return "<" + UUID.randomUUID() + "@" + domain + '>';
|
||||
}
|
||||
|
||||
String getLink() {
|
||||
return "message://" + BuildConfig.APPLICATION_ID + "/" + this.account + "/" + Uri.encode(this.msgid);
|
||||
}
|
||||
|
||||
boolean replySelf(List<TupleIdentityEx> identities, long account) {
|
||||
Address[] senders = (reply == null || reply.length == 0 ? from : reply);
|
||||
if (identities != null && senders != null)
|
||||
|
||||
Reference in New Issue
Block a user