misskey.go: send messages on misskey timeline stream after initial fetch
This commit is contained in:
parent
a10d292efa
commit
1b0912c675
1 changed files with 1 additions and 1 deletions
|
@ -146,10 +146,10 @@ func (self *MisskeyAdapter) poll() {
|
||||||
for _, n := range notes {
|
for _, n := range notes {
|
||||||
msg := self.cacheAndConvert(n)
|
msg := self.cacheAndConvert(n)
|
||||||
if msg == nil {
|
if msg == nil {
|
||||||
|
|
||||||
latest = &probenote[0].CreatedAt
|
latest = &probenote[0].CreatedAt
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
self.data <- msg
|
||||||
}
|
}
|
||||||
if *latest == probenote[0].CreatedAt {
|
if *latest == probenote[0].CreatedAt {
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue