From d126b1b871b02fab9d54f1ff6812ec2d10eed247 Mon Sep 17 00:00:00 2001 From: VolodiaHunkalo Date: Thu, 26 Sep 2024 17:58:31 +0300 Subject: [PATCH] v0.1.28: message list peers bugfix --- lib/src/backbone/builder/messages_list_message.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/backbone/builder/messages_list_message.dart b/lib/src/backbone/builder/messages_list_message.dart index a5d1831..7622b15 100644 --- a/lib/src/backbone/builder/messages_list_message.dart +++ b/lib/src/backbone/builder/messages_list_message.dart @@ -45,9 +45,9 @@ final class MessagesListMessageBuilder { sender: messageType, dialogMessageContent: message.text, peer: PeerInfo( - name: message.from.name, - type: message.chat.peer.type, - id: message.chat.peer.id, + name: _peers[peerIndex].name, + type: _peers[peerIndex].type, + id: _peers[peerIndex].id, ), file: MediaFileResponse( id: message.file.id,