mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-09 13:28:44 +00:00
Tagged timeline improvments and visible now
This commit is contained in:
parent
f729e29a8d
commit
e924503f2d
3 changed files with 22 additions and 3 deletions
|
@ -162,9 +162,11 @@ func (s *service) TimelinePage(c *client, tType, instance, listId, maxID,
|
|||
}
|
||||
title = "The Whole Known Network"
|
||||
case "tag":
|
||||
statuses, err = c.GetTimelineHashtag(c.ctx, tag, false, &pg)
|
||||
if err != nil {
|
||||
return err
|
||||
if len(tag) > 0 {
|
||||
statuses, err = c.GetTimelineHashtag(c.ctx, tag, false, &pg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
title = "Tag timeline"
|
||||
|
||||
|
@ -203,6 +205,9 @@ func (s *service) TimelinePage(c *client, tType, instance, listId, maxID,
|
|||
if len(instance) > 0 {
|
||||
v.Set("instance", instance)
|
||||
}
|
||||
if len(tag) > 0 {
|
||||
v.Set("tag", tag)
|
||||
}
|
||||
if len(listId) > 0 {
|
||||
v.Set("list", listId)
|
||||
}
|
||||
|
@ -215,6 +220,9 @@ func (s *service) TimelinePage(c *client, tType, instance, listId, maxID,
|
|||
if len(instance) > 0 {
|
||||
v.Set("instance", instance)
|
||||
}
|
||||
if len(tag) > 0 {
|
||||
v.Set("tag", tag)
|
||||
}
|
||||
if len(listId) > 0 {
|
||||
v.Set("list", listId)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue