File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -737,6 +737,11 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
737737 void unregisterMessageList (MessageListView view) =>
738738 _messages.unregisterMessageList (view);
739739 @override
740+ Future <void > sendMessage ({required MessageDestination destination, required String content}) {
741+ assert (! _disposed);
742+ return _messages.sendMessage (destination: destination, content: content);
743+ }
744+ @override
740745 void reconcileMessages (List <Message > messages) {
741746 _messages.reconcileMessages (messages);
742747 // TODO(#649) notify [unreads] of the just-fetched messages
@@ -904,12 +909,6 @@ class PerAccountStore extends PerAccountStoreBase with ChangeNotifier, EmojiStor
904909 }
905910 }
906911
907- @override
908- Future <void > sendMessage ({required MessageDestination destination, required String content}) {
909- assert (! _disposed);
910- return _messages.sendMessage (destination: destination, content: content);
911- }
912-
913912 static List <CustomProfileField > _sortCustomProfileFields (List <CustomProfileField > initialCustomProfileFields) {
914913 // TODO(server): The realm-wide field objects have an `order` property,
915914 // but the actual API appears to be that the fields should be shown in
You can’t perform that action at this time.
0 commit comments