From 5efbb367d52a2d7feac8b39016134e072abb6b43 Mon Sep 17 00:00:00 2001 From: Arash Date: Tue, 14 May 2024 09:54:11 +0200 Subject: [PATCH] Remove MATRIX USER_ID variable --- .github/workflows/publish_content.yml | 1 - lib/plugins/matrix.py | 1 - plugins.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/.github/workflows/publish_content.yml b/.github/workflows/publish_content.yml index f5e8eee..4d97a76 100644 --- a/.github/workflows/publish_content.yml +++ b/.github/workflows/publish_content.yml @@ -49,7 +49,6 @@ jobs: BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }} MATRIX_ACCESS_TOKEN: ${{ secrets.MATRIX_ACCESS_TOKEN }} MATRIX_ROOM_ID: ${{ secrets.MATRIX_ROOM_ID }} - MATRIX_USER_ID: ${{ secrets.MATRIX_USER_ID }} SLACK_ACCESS_TOKEN: ${{ secrets.SLACK_ACCESS_TOKEN }} SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }} CHANGED_FILES: ${{ steps.get_changed_files.outputs.all_changed_files }} diff --git a/lib/plugins/matrix.py b/lib/plugins/matrix.py index e3e438d..a98acb5 100644 --- a/lib/plugins/matrix.py +++ b/lib/plugins/matrix.py @@ -14,7 +14,6 @@ def __init__(self, **kwargs): self.base_url = kwargs.get("base_url", "https://matrix.org") self.client = AsyncClient(self.base_url) self.client.access_token = kwargs.get("access_token") - self.client.user_id = kwargs.get("user_id") self.client.device_id = kwargs.get("device_id") self.room_id = kwargs.get("room_id") diff --git a/plugins.yml b/plugins.yml index 7e43191..decb9e0 100644 --- a/plugins.yml +++ b/plugins.yml @@ -23,7 +23,6 @@ plugins: base_url: "https://matrix.org" access_token: $MATRIX_ACCESS_TOKEN room_id: $MATRIX_ROOM_ID - user_id: $MATRIX_USER_ID - name: slack class: slack.slack_client