misskey.go: send messages on misskey timeline stream after initial fetch

This commit is contained in:
Iris Lightshard 2024-06-25 21:37:06 -06:00
parent a10d292efa
commit 1b0912c675
Signed by: nilix
GPG Key ID: 688407174966CAF3
1 changed files with 1 additions and 1 deletions

View File

@ -146,10 +146,10 @@ func (self *MisskeyAdapter) poll() {
for _, n := range notes {
msg := self.cacheAndConvert(n)
if msg == nil {
latest = &probenote[0].CreatedAt
break
}
self.data <- msg
}
if *latest == probenote[0].CreatedAt {
break