mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
fix: [chats] message css + reply ID
This commit is contained in:
parent
c19b1f34e3
commit
daf9f6fb5d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue