mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 08:14:19 -05:00
Comments
This commit is contained in:
parent
8be6fd95a3
commit
7233341eac
@ -346,7 +346,7 @@ class UserDirectoyHandler(object):
|
|||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
None if the field in the events either both match `public_value`
|
None if the field in the events either both match `public_value`
|
||||||
neither do, i.e. there has been no change.
|
or if neither do, i.e. there has been no change.
|
||||||
True if it didnt match `public_value` but now does
|
True if it didnt match `public_value` but now does
|
||||||
False if it did match `public_value` but now doesn't
|
False if it did match `public_value` but now doesn't
|
||||||
"""
|
"""
|
||||||
@ -366,10 +366,10 @@ class UserDirectoyHandler(object):
|
|||||||
value = None
|
value = None
|
||||||
|
|
||||||
if prev_event:
|
if prev_event:
|
||||||
prev_value = prev_event.content.get(key_name, None)
|
prev_value = prev_event.content.get(key_name)
|
||||||
|
|
||||||
if event:
|
if event:
|
||||||
value = event.content.get(key_name, None)
|
value = event.content.get(key_name)
|
||||||
|
|
||||||
logger.debug("prev_value: %r -> value: %r", prev_value, value)
|
logger.debug("prev_value: %r -> value: %r", prev_value, value)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user