mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user