mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 09:35:12 +00:00
Merge branch 'fix-forwarding' into 'main'
Fixed Issue #973 Closes #973 See merge request famedly/fluffychat!980
This commit is contained in:
commit
1b43fd581a
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue