From 47ac9c8f972d8dedb95f22c982b15e0846257e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Mon, 9 Mar 2026 17:09:45 +0100 Subject: [PATCH] chore: Skip matrix notify for events from myself --- .github/workflows/matrix_notify.yaml | 1 + lib/pages/chat/send_file_dialog.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/matrix_notify.yaml b/.github/workflows/matrix_notify.yaml index fe4672808..f1583f11a 100644 --- a/.github/workflows/matrix_notify.yaml +++ b/.github/workflows/matrix_notify.yaml @@ -8,6 +8,7 @@ on: jobs: notify: + if: ${{ (github.event_name == 'issues' && github.event.issue.user.login != 'krille-chan') || (github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'krille-chan') }} runs-on: ubuntu-latest steps: - name: Send notification to Matrix room diff --git a/lib/pages/chat/send_file_dialog.dart b/lib/pages/chat/send_file_dialog.dart index 8ae0627bb..4e67b338d 100644 --- a/lib/pages/chat/send_file_dialog.dart +++ b/lib/pages/chat/send_file_dialog.dart @@ -1,7 +1,7 @@ -import 'package:async/async.dart' show Result; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; +import 'package:async/async.dart' show Result; import 'package:cross_file/cross_file.dart'; import 'package:matrix/matrix.dart' hide Result; import 'package:mime/mime.dart';