Clean up code and remove dependency on matrix-widget-api. Use giphy.mau.dev for MSC3860 redirects

This commit is contained in:
Nischay
2024-05-12 21:53:39 +05:30
parent 398fc952b6
commit ca99c5f00d
17 changed files with 76 additions and 215 deletions

View File

@@ -56,6 +56,7 @@ async def load_config(path: str) -> None:
homeserver_url = config["homeserver"]
access_token = config["access_token"]
giphy_api_key = config["giphy_api_key"]
giphy_homeserver = config["giphy_homeserver"]
except FileNotFoundError:
print("Matrix config file not found. Please enter your homeserver and access token. Enter the Giphy API token if required, leave blank to disable the gif picker.")
homeserver_url = input("Homeserver URL: ")

View File

@@ -1,6 +1 @@
# Generated in setup.py
git_tag = None
git_revision = 'f59406a4'
version = '0.1.0+dev.f59406a4'
linkified_version = '0.1.0+dev.[f59406a4](https://github.com/maunium/stickerpicker/commit/f59406a47a6778cd402e656ffb64f667335f665a)'
from .get_version import git_tag, git_revision, version, linkified_version