Merge branch 'fix-forwarding' into 'main'

Fixed Issue #973

Closes #973

See merge request famedly/fluffychat!980
This commit is contained in:
Krille Fear 2022-08-06 11:37:48 +00:00
commit c7b59ff1d8

View File

@ -628,7 +628,8 @@ class ChatController extends State<Chat> {
void forwardEventsAction() async { void forwardEventsAction() async {
if (selectedEvents.length == 1) { if (selectedEvents.length == 1) {
Matrix.of(context).shareContent = selectedEvents.first.content; Matrix.of(context).shareContent =
selectedEvents.first.getDisplayEvent(timeline!).content;
} else { } else {
Matrix.of(context).shareContent = { Matrix.of(context).shareContent = {
'msgtype': 'm.text', 'msgtype': 'm.text',