Skip to content

Commit 9c3e999

Browse files
chrisbobbegnprice
authored andcommitted
message: Give access to ChannelStore in outbox-handling logic
We'll use this for #1798 to check whether we're sending a message to an unsubscribed channel.
1 parent 78b7fad commit 9c3e999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/message.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ class DmOutboxMessage extends OutboxMessage<DmConversation> {
913913
}
914914

915915
/// Manages the outbox messages portion of [MessageStore].
916-
mixin _OutboxMessageStore on HasRealmStore {
916+
mixin _OutboxMessageStore on HasChannelStore {
917917
late final UnmodifiableMapView<int, OutboxMessage> outboxMessages =
918918
UnmodifiableMapView(_outboxMessages);
919919
final Map<int, OutboxMessage> _outboxMessages = {};

0 commit comments

Comments
 (0)