mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-21 04:53:14 -06:00
Wording
This commit is contained in:
parent
170a96ebbe
commit
4604add1c0
|
|
@ -106,7 +106,7 @@ func (t *OutputPresenceConsumer) onMessage(ctx context.Context, msgs []*nats.Msg
|
||||||
|
|
||||||
var joined []gomatrixserverlib.ServerName
|
var joined []gomatrixserverlib.ServerName
|
||||||
// We're trying to get joined rooms for this user for 3 seconds (3 retries, 1s delay)
|
// We're trying to get joined rooms for this user for 3 seconds (3 retries, 1s delay)
|
||||||
// If we fail to get joined hosts, if we fail to, we discard the presence event.
|
// If we fail to get joined hosts, we discard the presence event.
|
||||||
for i := 0; i < maxRetries; i++ {
|
for i := 0; i < maxRetries; i++ {
|
||||||
var queryRes roomserverAPI.QueryRoomsForUserResponse
|
var queryRes roomserverAPI.QueryRoomsForUserResponse
|
||||||
err = t.rsAPI.QueryRoomsForUser(t.ctx, &roomserverAPI.QueryRoomsForUserRequest{
|
err = t.rsAPI.QueryRoomsForUser(t.ctx, &roomserverAPI.QueryRoomsForUserRequest{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue