Skip to content

Commit

Permalink
Added pending notifications clearing on direct channel opening
Browse files Browse the repository at this point in the history
  • Loading branch information
Makhmudov Babur committed Mar 16, 2021
1 parent 3504f78 commit 631c16a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/blocs/directs_bloc/directs_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class DirectsBloc extends BaseChannelBloc {
channels: repository.items,
selected: repository.selected,
);
notificationBloc.add(CancelPendingSubscriptions(event.channelId));
} else if (event is LoadSingleChannel) {
throw 'Not implemented yet';
} else if (event is RemoveChannel) {
Expand Down

0 comments on commit 631c16a

Please sign in to comment.