From 33cdfb48bd7204be567ffd2c123be939992e5ab1 Mon Sep 17 00:00:00 2001
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Date: Wed, 27 Oct 2021 23:47:58 +0900
Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E5=AE=9A=E3=81=AE=E3=82=BF=E3=82=A4?=
 =?UTF-8?q?=E3=83=A0=E3=83=A9=E3=82=A4=E3=83=B3=E3=81=A7=20BT/RT=E8=A1=A8?=
 =?UTF-8?q?=E7=A4=BA=E3=81=8C=E7=94=9FRT=E8=A1=A8=E7=A4=BA=E3=81=AB?=
 =?UTF-8?q?=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=82=8B=E5=95=8F=E9=A1=8C?=
 =?UTF-8?q?=E3=81=AE=E4=BF=AE=E6=AD=A3=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 plugin/gtk3/widget/timeline.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugin/gtk3/widget/timeline.rb b/plugin/gtk3/widget/timeline.rb
index d128516d..e4fef343 100644
--- a/plugin/gtk3/widget/timeline.rb
+++ b/plugin/gtk3/widget/timeline.rb
@@ -87,7 +87,8 @@ module Plugin::Gtk3
 
     def bulk_add(models)
       update_ordinal = false
-      models.each do |message|
+      models.each do |m|
+        message = m.retweet_source || m
         mp = find_miracle_painter_by_message(message)
         if mp
           update_ordinal |= @order.(mp.model) != @order.(message)
-- 
2.33.0

