mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-04 23:03:09 +02:00
Remove unused error result (was always "nil").
This commit is contained in:
parent
5964a98218
commit
6ffed30ddc
|
@ -66,14 +66,13 @@ func (s *loopbackNatsSubscription) Unsubscribe() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (s *loopbackNatsSubscription) queue(msg *nats.Msg) error {
|
||||
func (s *loopbackNatsSubscription) queue(msg *nats.Msg) {
|
||||
s.cond.L.Lock()
|
||||
s.incoming = append(s.incoming, msg)
|
||||
if len(s.incoming) == 1 {
|
||||
s.cond.Signal()
|
||||
}
|
||||
s.cond.L.Unlock()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *loopbackNatsSubscription) run() {
|
||||
|
|
Loading…
Reference in a new issue