mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-08 18:53: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
|
|
@ -1027,7 +1027,7 @@ func ExtractVisibility(addressable Addressable, actorFollowersURI string) (gtsmo
|
|||
)
|
||||
|
||||
if len(to) == 0 && len(cc) == 0 {
|
||||
return "", gtserror.Newf("message wasn't TO or CC anyone")
|
||||
return 0, gtserror.Newf("message wasn't TO or CC anyone")
|
||||
}
|
||||
|
||||
// Assume most restrictive visibility,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue