chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100abe9
)
Fix display of whether you've boosted something.
author
Simon Tatham
<anakin@pobox.com>
Sat, 9 Dec 2023 18:05:22 +0000
(18:05 +0000)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/client.py
b/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('
boost
ed', False)
+ self.boosted = data.get('
reblogg
ed', False)
def text(self):
yield text.SeparatorLine(self.datestamp,