Skip to content

Commit 37cbe21

Browse files
committed
test: Have streamMessage and dmMessage take MessageFlag objects
1 parent b1ad898 commit 37cbe21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/example_data.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ StreamMessage streamMessage({
155155
int? lastEditTimestamp,
156156
List<Reaction>? reactions,
157157
int? timestamp,
158-
List<String>? flags,
158+
List<MessageFlag>? flags,
159159
}) {
160160
final effectiveStream = stream ?? _stream();
161161
// The use of JSON here is convenient in order to delegate parts of the data
@@ -191,7 +191,7 @@ DmMessage dmMessage({
191191
String? contentMarkdown,
192192
int? lastEditTimestamp,
193193
int? timestamp,
194-
List<String>? flags,
194+
List<MessageFlag>? flags,
195195
}) {
196196
assert(!to.any((user) => user.userId == from.userId));
197197
return DmMessage.fromJson({

0 commit comments

Comments
 (0)