chore: don't add extra asterisk to editted HTML messages (#2056)

This commit is contained in:
ggurdin 2025-03-06 12:07:44 -05:00 committed by GitHub
parent 36a4654b2d
commit 25f057e943
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -248,7 +248,7 @@ extension EventsRoomExtension on Room {
}
}
final fullBody = _getEventContent(event, inReplyTo, editEventId);
final fullBody = _getEventContent(Map.from(event), inReplyTo, editEventId);
final jsonString = jsonEncode(fullBody);
final jsonSizeInBytes = utf8.encode(jsonString).length;
const maxBodySize = 60000;

View file

@ -8,7 +8,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:fcm_shared_isolate_example/main.dart';
import '../lib/main.dart';
void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {