[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: reply notification root uris

+8
+8
lib/src/core/notifications/push_notification_service.dart
··· 92 92 final author = data['author'] as String?; 93 93 final recordUri = data['recordUri'] as String?; 94 94 final reasonSubject = data['reasonSubject'] as String?; 95 + final threadRootUri = data['threadRootUri'] as String?; 95 96 96 97 if (!GetIt.instance.isRegistered<AppRouter>()) { 97 98 _pendingNotification = message; ··· 103 104 if (reason == 'follow' && author != null) { 104 105 // Navigate to profile for follow notifications 105 106 router.push(ProfileRoute(did: author)); 107 + } else if (reason == 'reply' && threadRootUri != null) { 108 + router.push( 109 + StandalonePostRoute( 110 + postUri: threadRootUri, 111 + highlightedReplyUri: recordUri, 112 + ), 113 + ); 106 114 } else if (reasonSubject != null) { 107 115 // For likes/reposts, navigate to the subject (the post being liked/reposted) 108 116 router.push(StandalonePostRoute(postUri: reasonSubject));