mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-24 02:54:13 +01:00
fix: Correct redacted by username
This commit is contained in:
parent
b65357576c
commit
338331d6e1
@ -205,7 +205,7 @@ class MessageContent extends StatelessWidget {
|
|||||||
default:
|
default:
|
||||||
if (event.redacted) {
|
if (event.redacted) {
|
||||||
return FutureBuilder<User?>(
|
return FutureBuilder<User?>(
|
||||||
future: event.fetchSenderUser(),
|
future: event.redactedBecause?.fetchSenderUser(),
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
return _ButtonContent(
|
return _ButtonContent(
|
||||||
label: L10n.of(context)!.redactedAnEvent(snapshot.data
|
label: L10n.of(context)!.redactedAnEvent(snapshot.data
|
||||||
|
Loading…
Reference in New Issue
Block a user