Updated save.
This commit is contained in:
parent
0c331bbb93
commit
e23d6571c8
@ -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"],
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user