Save Bookmark with Bookmark overview in channel menu, and bookmark-filter in channel and contact.

This commit is contained in:
ericz committed 2026-11-13 23:06:17 +01:00
1 parent c0702806de
commit f32300797e
39 files changed
+1556 -25

No files matched your search

+4
View File
@@ -43,6 +43,7 @@ class ChannelMessage {
/// to the bottom; [timestamp] stays the sender's identity time.
final DateTime receivedAt;
final bool isOutgoing;
final bool isBookmarked;
final ChannelMessageStatus status;
final List<Repeat> repeats;
final int repeatCount;
@@ -77,6 +78,7 @@ class ChannelMessage {
required this.timestamp,
DateTime? receivedAt,
required this.isOutgoing,
this.isBookmarked = false,
this.status = ChannelMessageStatus.pending,
this.repeats = const [],
this.repeatCount = 0,
@@ -117,6 +119,7 @@ class ChannelMessage {
ChannelMessage copyWith({
ChannelMessageStatus? status,
bool? isBookmarked,
List<Repeat>? repeats,
int? repeatCount,
int? pathLength,
@@ -159,6 +162,7 @@ class ChannelMessage {
timestamp: timestamp,
receivedAt: receivedAt,
isOutgoing: isOutgoing,
isBookmarked: isBookmarked ?? this.isBookmarked,
status: status ?? this.status,
repeats: repeats ?? this.repeats,
repeatCount: repeatCount ?? this.repeatCount,