mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
convert httpClient
This commit is contained in:
parent
cd7faaba38
commit
dd9e66c80d
4 changed files with 20 additions and 21 deletions
|
@ -162,7 +162,7 @@ func pubsubJanitor_do() {
|
|||
ChatSubscriptionLock.Unlock()
|
||||
|
||||
if len(cleanedUp) != 0 {
|
||||
err := SendCleanupTopicsNotice(cleanedUp)
|
||||
err := Backend.SendCleanupTopicsNotice(cleanedUp)
|
||||
if err != nil {
|
||||
log.Println("error reporting cleaned subs:", err)
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ func _subscribeWhileRlocked(channelName string, value chan<- ClientMessage) {
|
|||
ChatSubscriptionLock.Unlock()
|
||||
|
||||
go func(topic string) {
|
||||
err := SendNewTopicNotice(topic)
|
||||
err := Backend.SendNewTopicNotice(topic)
|
||||
if err != nil {
|
||||
log.Println("error reporting new sub:", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue