- follow in conf file (according to twtxt.txt config specification)
- follow in twtxt.txt local file (according to metadata specification)
- send a follow request to yarn server.
BUT maybe I should change the approach for something more like :
SendFollowRequestYarnServer(nick, url)
if err {
// aka not using yarn or connection issue
AddToLocalConf(nick, url)
AddToTwxtFile(nick, url)
} else {
SyncServerAndFile() // sync metadata + twts
}
Syncing about it .... I mean Thinking about it :D
What do you think @prologic ?