mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-01 13:33:16 -06:00
convert statuses.visibility and notifications.notification_type columns from type string -> int for performance / space savings
This commit is contained in:
parent
301543616b
commit
759df1240a
21 changed files with 586 additions and 84 deletions
|
|
@ -372,7 +372,7 @@ func (p *Processor) processVisibility(
|
|||
|
||||
// Fall back to account default, set
|
||||
// this back on the form for later use.
|
||||
case accountDefaultVis != "":
|
||||
case accountDefaultVis != 0:
|
||||
status.Visibility = accountDefaultVis
|
||||
form.Visibility = p.converter.VisToAPIVis(ctx, accountDefaultVis)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue