|
|
@ -99,8 +99,7 @@ class Message extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (event.isReply)
|
|
|
|
if (event.isReply)
|
|
|
|
FutureBuilder<Event>(
|
|
|
|
FutureBuilder<Event>(
|
|
|
|
future: timeline.getEventById(event.content['m.relates_to']
|
|
|
|
future: event.getReplyEvent(timeline),
|
|
|
|
['m.in_reply_to']['event_id']),
|
|
|
|
|
|
|
|
builder: (BuildContext context, snapshot) {
|
|
|
|
builder: (BuildContext context, snapshot) {
|
|
|
|
final Event replyEvent = snapshot.hasData
|
|
|
|
final Event replyEvent = snapshot.hasData
|
|
|
|
? snapshot.data
|
|
|
|
? snapshot.data
|
|
|
|