fix: [chats] message css + reply ID

This commit is contained in:
terrtia 2023-10-04 14:40:13 +02:00
parent c19b1f34e3
commit daf9f6fb5d
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ class TelegramFeeder(DefaultFeeder):
meta = self.json_data['meta']
mess_id = self.json_data['meta']['id']
if meta.get('reply_to'):
reply_to_id = meta['reply_to']['id']
reply_to_id = int(meta['reply_to'])
else:
reply_to_id = None

View file

@ -118,7 +118,7 @@
<h2><span class="badge badge-secondary mb-2">{{ date }}</span></h2>
{% for mess in messages[date] %}
<div class="chat-message-left pb-0">
<div class="chat-message-left pb-1">
<div>
<img src="{{ url_for('static', filename='image/ail-icon.png') }}" class="rounded-circle mr-1" alt="{{ mess['user-account']['id'] }}" width="40" height="40">
<div class="text-muted small text-nowrap mt-2">{{ mess['hour'] }}</div>