Skip to content

Commit

Permalink
Merge pull request #37 from sarami55/dev
Browse files Browse the repository at this point in the history
VPOS を正の値で
  • Loading branch information
himananiito authored Jan 1, 2019
2 parents ee4c894 + 0341797 commit a2c52e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@

*.db
*.pem
*.ass
*.sqlite
*.sqlite3
*-journal
*.sqlite3-shm
*.sqlite3-wal

!changelog.txt

4 changes: 4 additions & 0 deletions src/niconico/nico_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ func WriteComment(db *sql.DB, fileName string, skipHb bool) {
continue
}

if (vpos < 0) {
continue
}

line := fmt.Sprintf(
`<chat thread="%d" vpos="%d" date="%d" date_usec="%d" user_id="%s"`,
thread,
Expand Down

0 comments on commit a2c52e1

Please sign in to comment.