1
0

Add some FIXME comments

This commit is contained in:
Andrew Morgan
2021-11-24 16:08:49 +00:00
parent b4a4b45dff
commit c691ef0992

View File

@@ -222,6 +222,7 @@ class ApplicationServicesHandler:
# Notify appservices of updates in ephemeral event streams.
# Only the following streams are currently supported.
# FIXME: We should use constants for these values.
if stream_key not in (
"typing_key",
"receipt_key",
@@ -494,6 +495,8 @@ class ApplicationServicesHandler:
# Filter out users that this appservice is not interested in
users_appservice_is_interested_in: List[str] = []
for user in users:
# FIXME: We should do this farther up the call stack. We currently repeat
# this operation in _handle_presence.
if isinstance(user, UserID):
user = user.to_string()