mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 11:45:10 +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 {
|
||||
if (selectedEvents.length == 1) {
|
||||
Matrix.of(context).shareContent = selectedEvents.first.content;
|
||||
Matrix.of(context).shareContent =
|
||||
selectedEvents.first.getDisplayEvent(timeline!).content;
|
||||
} else {
|
||||
Matrix.of(context).shareContent = {
|
||||
'msgtype': 'm.text',
|
||||
|
|
Loading…
Reference in a new issue