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

pull/1688/head
ggurdin 8 months ago committed by GitHub
parent 36a4654b2d
commit 25f057e943
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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;

@ -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 {

Loading…
Cancel
Save