🐛 Bug fixes

This commit is contained in:
2025-02-24 21:18:49 +08:00
parent 44e1a8bf67
commit a66129a9ba
3 changed files with 47 additions and 23 deletions

View File

@ -88,7 +88,8 @@ class NotificationProvider extends ChangeNotifier {
final doHaptic = _cfg.prefs.getBool(kAppNotifyWithHaptic) ?? true;
if (doHaptic) HapticFeedback.mediumImpact();
if (notification.topic == 'messaging.message') {
if (notification.topic == 'messaging.message' &&
skippableNotifyChannel != null) {
if (notification.metadata['channel_id'] != null &&
notification.metadata['channel_id'] == skippableNotifyChannel) {
return;