Monorepo for Tangled tangled.org

appview: remove oauth.User type #1027

open opened by boltless.me targeting master from sl/uvpzuszrulvq

This is not required anymore. MultiAccountUser can just hold active user DID.

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mdcq5ouzmj22
+3 -3
Interdiff #2 #3
appview/issues/issues.go

This patch was likely rebased, as context lines do not match.

appview/knots/knots.go

This file has not been changed.

appview/labels/labels.go

This patch was likely rebased, as context lines do not match.

appview/middleware/middleware.go

This file has not been changed.

appview/notifications/notifications.go

This file has not been changed.

appview/oauth/accounts.go

This file has not been changed.

appview/oauth/oauth.go

This patch was likely rebased, as context lines do not match.

appview/pulls/pulls.go

This patch was likely rebased, as context lines do not match.

appview/repo/artifact.go

This patch was likely rebased, as context lines do not match.

appview/repo/repo.go

This file has not been changed.

appview/repo/settings.go

This file has not been changed.

appview/reporesolver/resolver.go

This patch was likely rebased, as context lines do not match.

appview/settings/settings.go

This patch was likely rebased, as context lines do not match.

appview/spindles/spindles.go

This file has not been changed.

appview/state/accounts.go

This file has not been changed.

appview/state/follow.go

This file has not been changed.

+2 -2
appview/state/login.go
··· 74 74 return 75 75 } 76 76 77 - currentDid := currentUser.Did 77 + currentDid := currentUser.Active.Did 78 78 79 79 var remainingAccounts []string 80 80 for _, acc := range currentUser.Accounts { 81 81 return 82 82 } 83 83 84 - currentDid := currentUser.Active.Did 84 + currentDid := currentUser.Did 85 85 86 86 var remainingAccounts []string 87 87 for _, acc := range currentUser.Accounts {
appview/state/profile.go

This patch was likely rebased, as context lines do not match.

appview/state/reaction.go

This file has not been changed.

appview/state/star.go

This file has not been changed.

appview/state/state.go

This patch was likely rebased, as context lines do not match.

appview/strings/strings.go

This file has not been changed.

+1 -1
appview/state/timeline.go
··· 48 48 49 49 var userDid string 50 50 if user != nil { 51 - userDid = user.Active.Did 51 + userDid = user.Did 52 52 } 53 53 timeline, err := db.MakeTimeline(s.db, 50, userDid, filtered) 54 54 if err != nil {

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
merge conflicts detected
expand
  • appview/pulls/pulls.go:1378
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
3/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview: remove oauth.User type
2/3 failed, 1/3 success
expand
expand 0 comments