mirror of
				https://github.com/owncast/owncast.git
				synced 2025-10-31 18:18:06 +08:00 
			
		
		
		
	Handle pagination for the federated actions & followers responses (#1731)
* Add pagination for admin social list * Use Paginated API for followers tab on frontend
This commit is contained in:
		| @ -171,7 +171,7 @@ func getHashtagLinkHTMLFromTagString(baseHashtag string) string { | ||||
| func SendToFollowers(payload []byte) error { | ||||
| 	localActor := apmodels.MakeLocalIRIForAccount(data.GetDefaultFederationUsername()) | ||||
|  | ||||
| 	followers, err := persistence.GetFederationFollowers(-1, 0) | ||||
| 	followers, _, err := persistence.GetFederationFollowers(-1, 0) | ||||
| 	if err != nil { | ||||
| 		log.Errorln("unable to fetch followers to send to", err) | ||||
| 		return errors.New("unable to fetch followers to send payload to") | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Gabe Kangas
					Gabe Kangas