|
|
@ -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',
|
|
|
|