mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-18 08:30:42 -06:00
Mastodon: Allow to create user timelines from community local buffers
This commit is contained in:
parent
10b17b2d6f
commit
002d0a5709
@ -200,7 +200,10 @@ class Handler(object):
|
||||
def open_timeline(self, controller, buffer):
|
||||
if not hasattr(buffer, "get_item"):
|
||||
return
|
||||
item = buffer.get_item()
|
||||
if hasattr(buffer, "community_url"):
|
||||
item = buffer.get_item_from_instance()
|
||||
else:
|
||||
item = buffer.get_item()
|
||||
if buffer.type == "user":
|
||||
users = [item.acct]
|
||||
elif buffer.type == "baseBuffer":
|
||||
|
Loading…
x
Reference in New Issue
Block a user