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: Iris Lightshard
GPG key ID: 688407174966CAF3

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