Fix typo
authorr <r@freesoftwareextremist.com>
Tue, 28 Jul 2020 13:36:57 +0000 (13:36 +0000)
committerr <r@freesoftwareextremist.com>
Tue, 28 Jul 2020 13:36:57 +0000 (13:36 +0000)
service/service.go

index 2cc8e5a016c1152d79e3c78db71a75c22f2f7c6d..35ce3bd28dd95579bd03b88ebd6507ff04fde723 100644 (file)
@@ -228,7 +228,7 @@ func (svc *service) ServeTimelinePage(c *model.Client, tType string,
                title = "Timeline"
        case "direct":
                statuses, err = c.GetTimelineDirect(ctx, &pg)
-               title = "Local Timeline"
+               title = "Direct Timeline"
        case "local":
                statuses, err = c.GetTimelinePublic(ctx, true, &pg)
                title = "Local Timeline"
@@ -313,7 +313,7 @@ func (svc *service) ServeThreadPage(c *model.Client, id string, reply bool) (err
                        }
                }
 
-               isDirect := status.Visibility == "direct" 
+               isDirect := status.Visibility == "direct"
                if isDirect || c.Session.Settings.CopyScope {
                        visibility = status.Visibility
                } else {