IsFollowing returns true if the user is following the given user. TODO(unknwon): This is also used in templates, which should be fixed by having a dedicated type `template.User`.
(followID int64)
| 1413 | // TODO(unknwon): This is also used in templates, which should be fixed by |
| 1414 | // having a dedicated type `template.User`. |
| 1415 | func (u *User) IsFollowing(followID int64) bool { |
| 1416 | return Handle.Users().IsFollowing(context.TODO(), u.ID, followID) |
| 1417 | } |
| 1418 | |
| 1419 | // IsUserOrgOwner returns true if the user is in the owner team of the given |
| 1420 | // organization. |