Skip to content

Commit

Permalink
Merge branch 'dev' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrckd committed Sep 12, 2024
2 parents bb1fb61 + 50e73d0 commit bc06e5a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file.

## [0.2.1] - 2024-08-10

### 🐛 Bug Fixes

- Prevent conflicting typing await when showing auto-reset message.
- Typo in matrix_bot error log
- Update pyalbert version


## 0.2.0

### 🚀 Features
Expand Down
4 changes: 2 additions & 2 deletions app/core_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

from config import Config

# FIX/FUTURE: with pyalbert v0.7 ?
API_PREFIX_V1 = "/api"
# FIX/FUTURE: pyalbert/MfsClient
API_PREFIX_V1 = "/api/v1"
API_PREFIX_V2 = "/api/v2"


Expand Down
3 changes: 2 additions & 1 deletion app/matrix_bot/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ async def decryption_failure(self, room: MatrixRoom, event: MegolmEvent):
logger.error(
f"Failed to decrypt message: {event.event_id} from {event.sender} in {room.room_id}. "
"If this error persists despite verification, reset the crypto session by deleting "
f"{self.matrix_client.matrix_config.store_path} and {self.matrix_client.auth.session_stored_file_path}. "
f"{self.matrix_client.matrix_config.store_path} "
f"and {self.matrix_client.auth.credentials.session_stored_file_path}. "
"You will have to verify any verified devices anew."
)
await self.matrix_client.send_text_message(
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "albert-tchap"
version = "0.2.0"
version = "0.2.1"
description = "Albert Tchap"
authors = [
{ name = "Pôle d'Expertise de la Régulation Numérique", email = "[email protected]" },
Expand All @@ -20,7 +20,7 @@ dependencies = [
"cryptography==42.0.8",
"structlog==24.2.0",
"grist_api==0.1.0",
"pyalbert==0.6.20",
"pyalbert==0.7.4",
]

# Packaging
Expand Down

0 comments on commit bc06e5a

Please sign in to comment.