Skip to content

Commit

Permalink
Merge pull request #1 from ozraru/ozraru-patch-1
Browse files Browse the repository at this point in the history
Fix preventing learn renote
  • Loading branch information
Amaototi committed Aug 26, 2023
2 parents 06350ef + 0786661 commit 53a291a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/misskeyApi/misskeyApi.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func MisskeyGetnotesRequest(token string, botID string) ([]string, error) {

var resarray []string
for i := 0; i < 100; i++ {
if response[i].User.Id == botID || response[i].Text == "" || response[i].RenoteId != "null" {
if response[i].User.Id == botID || response[i].Text == "" || response[i].RenoteId != "" {
continue
} else {
resarray = append(resarray, response[i].Text)
Expand Down

0 comments on commit 53a291a

Please sign in to comment.