From 36b27502089ae610b6849394b1eb000ada3eb3e5 Mon Sep 17 00:00:00 2001
From: Lain <lain@serialexperiments.club>
Date: Fri, 10 Jan 2025 23:15:41 -0300
Subject: [PATCH] rename to aviod conflict with the original version

---
 README.md                   | 15 +++------------
 hateheif.py => heic2jpeg.py |  3 ++-
 maubot.yaml                 |  8 ++++----
 3 files changed, 9 insertions(+), 17 deletions(-)
 rename hateheif.py => heic2jpeg.py (98%)

diff --git a/README.md b/README.md
index 7acdde4..b7757cf 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,4 @@
-# HateHeif
-A simple [maubot](https://github.com/maubot/maubot) plugin 
-that converts HEIF media into something normal ;-) and sends back
-to the room.
+# Heic2Jpeg
+A [maubot](https://github.com/maubot/maubot) plugin that convert HEIC/HEIF into JPEG
 
-- Works well in encrypted and unencrypted rooms. 
-- Requires no configuration, plug & play!
-
-## Support
-Join ```#maubot:sergevictor.eu``` room.
-
-## License
-MIT License.
+Forked from [hateheif](https://github.com/ser/maubot-hateheif)
diff --git a/hateheif.py b/heic2jpeg.py
similarity index 98%
rename from hateheif.py
rename to heic2jpeg.py
index 3a87110..ca4eae5 100644
--- a/hateheif.py
+++ b/heic2jpeg.py
@@ -1,3 +1,4 @@
+# Lain Iwakura <lain@serialexperiments.club>
 
 from io import BytesIO
 from typing import Tuple
@@ -111,7 +112,7 @@ async def send_unencrypted_message(
     await client.send_message(room_id, content)
 
 
-class HateHeifBot(Plugin):
+class HeicToJpeg(Plugin):
     async def start(self) -> None:
         await super().start()
         self.config.load_and_update()
diff --git a/maubot.yaml b/maubot.yaml
index 2b7dd52..8e0caa1 100644
--- a/maubot.yaml
+++ b/maubot.yaml
@@ -1,11 +1,11 @@
-id: eu.sergevictor.hateheif
-version: 0.99.100
+id: club.serialexperiments.heic2jpeg
+version: 0.1.0
 license: MIT
 modules:
-- hateheif
+- heic2jpeg
 config: true
 extra_files:
 - base-config.yaml
-main_class: HateHeifBot
+main_class: HeicToJpeg
 dependencies:
 - pillow-heif