Revert "Revert "Revert "Link to message thread"""

This reverts commit ee8dc05b22.
This commit is contained in:
M66B
2021-04-12 11:08:26 +02:00
parent 31d8662c16
commit 6a433c4252
3 changed files with 6 additions and 15 deletions

View File

@@ -24,7 +24,6 @@ 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;
@@ -240,10 +239,6 @@ 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)