use longer excerpt, 100 characters is easily too few eg. on tables, also this allows the system to expand the notification text

This commit is contained in:
B. Petersen
2020-06-13 21:30:03 +02:00
parent ede1dd60f4
commit 2b26d4709e
@@ -333,7 +333,7 @@ public class NotificationCenter {
NotificationPrivacyPreference privacy = Prefs.getNotificationPrivacy(context);
DcMsg dcMsg = dcContext.getMsg(msgId);
String line = privacy.isDisplayMessage()? dcMsg.getSummarytext(100) : context.getString(R.string.notify_new_message);
String line = privacy.isDisplayMessage()? dcMsg.getSummarytext(2000) : context.getString(R.string.notify_new_message);
if (dcChat.isGroup() && privacy.isDisplayContact()) {
line = dcContext.getContact(dcMsg.getFromId()).getFirstName() + ": " + line;
}