mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-20 02:59:26 +01:00
Merge branch 'fix-forwarding' into 'main'
Fixed Issue #973 Closes #973 See merge request famedly/fluffychat!980
This commit is contained in:
commit
c7b59ff1d8
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user