mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 05:13:11 -06:00
nolint a function that is not used yet
This commit is contained in:
parent
dac050d5b6
commit
4ca8e4822f
|
|
@ -183,6 +183,7 @@ func (n *Notifier) wakeupUsers(userIDs []string, newPos types.StreamingToken) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// nolint:unused
|
||||||
func (n *Notifier) wakeupUserDevice(userDevices map[string]string, newPos types.StreamingToken) {
|
func (n *Notifier) wakeupUserDevice(userDevices map[string]string, newPos types.StreamingToken) {
|
||||||
for userID, deviceID := range userDevices {
|
for userID, deviceID := range userDevices {
|
||||||
if stream := n.fetchUserDeviceStream(userID, deviceID, false); stream != nil {
|
if stream := n.fetchUserDeviceStream(userID, deviceID, false); stream != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue