mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-09-04 22:21:35 +00:00
update toot from server before displaying item
This commit is contained in:
@@ -469,6 +469,8 @@ class BaseBuffer(base.Buffer):
|
||||
|
||||
def view_item(self):
|
||||
toot = self.get_item()
|
||||
# Update object so we can retrieve newer stats
|
||||
toot = self.session.api.status(id=toot.id)
|
||||
print(toot)
|
||||
msg = messages.viewToot(toot, offset_hours=self.session.db["utc_offset"], item_url=self.get_item_url())
|
||||
|
||||
|
Reference in New Issue
Block a user