chiark / gitweb /
Fix display of whether you've boosted something.
authorSimon Tatham <anakin@pobox.com>
Sat, 9 Dec 2023 18:05:22 +0000 (18:05 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 9 Dec 2023 18:05:22 +0000 (18:05 +0000)
I had forgotten for a moment that it's called something else at the
protocol level.

client.py

index eaecbd94526685215928925bc27f1f49215512dd..856bd94c21a3ab51de4e99627090b071e345e872 100644 (file)
--- a/client.py
+++ b/client.py
@@ -350,7 +350,7 @@ class Status:
 
     def update_fave_boost(self, data):
         self.favourited = data.get('favourited', False)
-        self.boosted = data.get('boosted', False)
+        self.boosted = data.get('reblogged', False)
 
     def text(self):
         yield text.SeparatorLine(self.datestamp,