From e6429139449b1b03a4dab744569c873a5aee3227 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 6 Aug 2023 14:58:32 -0700 Subject: [PATCH] notifications: don't cutoff text Changelog-Fixed: don't cutoff text in notifications --- damus/Models/HomeModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift index 76f90368..0e77fbb3 100644 --- a/damus/Models/HomeModel.swift +++ b/damus/Models/HomeModel.swift @@ -1189,7 +1189,7 @@ func create_in_app_event_zap_notification(profiles: Profiles, zap: Zap, locale: func render_notification_content_preview(cache: EventCache, ev: NostrEvent, profiles: Profiles, privkey: Privkey?) -> String { - let prefix_len = 50 + let prefix_len = 300 let artifacts = cache.get_cache_data(ev.id).artifacts.artifacts ?? render_note_content(ev: ev, profiles: profiles, privkey: privkey) // special case for longform events