fix pending attachments disappearing when new events are sent
This commit is contained in:
parent
8c25228bd9
commit
80fa9673bb
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class AttachmentController extends Notifier<(String, MessageContent?)?> {
|
||||||
final filename = basename(file.path);
|
final filename = basename(file.path);
|
||||||
state = (filename, null);
|
state = (filename, null);
|
||||||
|
|
||||||
final room = ref.watch(
|
final room = ref.read(
|
||||||
RoomsController.provider.select((value) => value[roomId]),
|
RoomsController.provider.select((value) => value[roomId]),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue