summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Hill <dhill@mindcry.org>2019-03-21 16:30:28 +0000
committerWim <wim@42.be>2019-03-21 17:30:28 +0100
commit97f9d4be67ee470898111a5ea3bc9ad0cf73be8a (patch)
treea74edd66b2d5e84602161fa2c5716b24fbefcb44
parentfa4eec41f762dc42bf881befa9058aa636a89eef (diff)
downloadmatterbridge-msglm-97f9d4be67ee470898111a5ea3bc9ad0cf73be8a.tar.gz
matterbridge-msglm-97f9d4be67ee470898111a5ea3bc9ad0cf73be8a.tar.bz2
matterbridge-msglm-97f9d4be67ee470898111a5ea3bc9ad0cf73be8a.zip
Fix double unlock (slack) (#771)
-rw-r--r--bridge/slack/users_channels.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/slack/users_channels.go b/bridge/slack/users_channels.go
index 8712d268..23807c8d 100644
--- a/bridge/slack/users_channels.go
+++ b/bridge/slack/users_channels.go
@@ -87,7 +87,6 @@ func (b *users) populateUser(userID string) {
// in case the previous query failed for some reason.
} else {
b.usersSyncPoints[userID] = make(chan struct{})
- b.usersMutex.Unlock()
break
}
}