Updated save.

This commit is contained in:
retoor 2025-07-18 17:44:45 +02:00
parent 0c331bbb93
commit e23d6571c8
2 changed files with 1 additions and 3 deletions

View File

@ -92,8 +92,7 @@ class ChannelMessageService(BaseService):
return {}
if not message["html"].startswith("<chat-message"):
await (await self.get(uid=message["uid"])).save()
message["html"] = (await self.get(uid=message["uid"])).html
await self.save(message)
return {
"uid": message["uid"],

View File

@ -82,7 +82,6 @@ class WebView(BaseView):
await self.app.services.notification.mark_as_read(
self.session.get("uid"), message["uid"]
)
print(messages)
name = await channel_member.get_name()
return await self.render_template(
"web.html",