mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 09:13:09 -06:00
Apply account data position
This commit is contained in:
parent
95e2e4d668
commit
12e563bce9
|
|
@ -130,6 +130,7 @@ func (n *Notifier) OnNewAccountData(
|
||||||
n.streamLock.Lock()
|
n.streamLock.Lock()
|
||||||
defer n.streamLock.Unlock()
|
defer n.streamLock.Unlock()
|
||||||
|
|
||||||
|
n.currPos.ApplyUpdates(posUpdate)
|
||||||
n.wakeupUsers([]string{userID}, nil, posUpdate)
|
n.wakeupUsers([]string{userID}, nil, posUpdate)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue