Fix reply
This commit is contained in:
parent
0bac4b5903
commit
9992756a4f
3 changed files with 4 additions and 5 deletions
|
|
@ -99,8 +99,7 @@ class Message extends StatelessWidget {
|
|||
),
|
||||
if (event.isReply)
|
||||
FutureBuilder<Event>(
|
||||
future: timeline.getEventById(event.content['m.relates_to']
|
||||
['m.in_reply_to']['event_id']),
|
||||
future: event.getReplyEvent(timeline),
|
||||
builder: (BuildContext context, snapshot) {
|
||||
final Event replyEvent = snapshot.hasData
|
||||
? snapshot.data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue