Spell "domain" correctly

s/domian/domain/g
This commit is contained in:
Mark Haines 2016-05-16 19:17:03 +01:00
parent 2d98c960ec
commit 1a3a2002ff
6 changed files with 19 additions and 19 deletions

View file

@ -33,7 +33,7 @@ from synapse.util.logcontext import preserve_fn
from synapse.util.logutils import log_function
from synapse.util.metrics import Measure
from synapse.util.wheel_timer import WheelTimer
from synapse.types import UserID, get_domian_from_id
from synapse.types import UserID, get_domain_from_id
import synapse.metrics
from ._base import BaseHandler
@ -440,7 +440,7 @@ class PresenceHandler(BaseHandler):
if not local_states:
continue
host = get_domian_from_id(user_id)
host = get_domain_from_id(user_id)
hosts_to_states.setdefault(host, []).extend(local_states)
# TODO: de-dup hosts_to_states, as a single host might have multiple