Add channelID conversion to "ek follow UID" command

This commit is contained in:
Peter Stuifzand 2021-10-21 22:08:56 +02:00
parent 5eed538bd1
commit 31caee7c18
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -351,7 +351,7 @@ func performCommands(sub microsub.Microsub, commands []string) {
}
if len(commands) == 2 && commands[0] == "follow" {
uid := commands[1]
uid, _ := channelID(sub, commands[1])
feeds, err := sub.FollowGetList(uid)
if err != nil {
log.Fatalf("An error occurred: %s\n", err)