Skip to content

local echo (3/n): Pull out MessageBase #1463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 15, 2025
2 changes: 1 addition & 1 deletion lib/api/model/events.dart
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ class MessageEvent extends Event {
// events and in the get-messages results is that `matchContent` and
// `matchTopic` are absent here. Already [Message.matchContent] and
// [Message.matchTopic] are optional, so no action is needed on that.
@JsonKey(readValue: _readMessageValue, includeToJson: false)
@JsonKey(readValue: _readMessageValue, fromJson: Message.fromJson, includeToJson: false)
final Message message;

// When present, this equals the "local_id" parameter
Expand Down
Loading