Fix reply
This commit is contained in:
parent
0bac4b5903
commit
9992756a4f
|
@ -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
|
||||||
|
|
|
@ -124,8 +124,8 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: b7dea7c6a5634f68816be9323ce78669b7d0ff0f
|
ref: d6e59370668c697a97fefea32c0cdedfb235203b
|
||||||
resolved-ref: b7dea7c6a5634f68816be9323ce78669b7d0ff0f
|
resolved-ref: d6e59370668c697a97fefea32c0cdedfb235203b
|
||||||
url: "https://gitlab.com/famedly/famedlysdk.git"
|
url: "https://gitlab.com/famedly/famedlysdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
|
|
|
@ -27,7 +27,7 @@ dependencies:
|
||||||
famedlysdk:
|
famedlysdk:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/famedly/famedlysdk.git
|
url: https://gitlab.com/famedly/famedlysdk.git
|
||||||
ref: 75c1dc1c566e848adebee08e7c882b267ff0797e
|
ref: d6e59370668c697a97fefea32c0cdedfb235203b
|
||||||
|
|
||||||
localstorage: ^3.0.1+4
|
localstorage: ^3.0.1+4
|
||||||
bubble: ^1.1.9+1
|
bubble: ^1.1.9+1
|
||||||
|
|
Loading…
Reference in a new issue