Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Jun 29, 2021
1 parent 3411d51 commit b4f0b5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions synapse/event_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,17 +342,7 @@ def _is_membership_change_allowed(
# * They are accepting a previously sent invitation.
# * They are already joined (it's a NOOP).
# * The room is public or restricted.
logger.info(
"check join aewffaewafewf %s %s",
event.user_id,
target_user_id,
)
if event.user_id != target_user_id:
logger.error(
"Cannot force another user to join aewffaewafewf %s %s",
event.user_id,
target_user_id,
)
raise AuthError(403, "Cannot force another user to join.")
elif target_banned:
raise AuthError(403, "You are banned from this room")
Expand Down
1 change: 0 additions & 1 deletion synapse/rest/client/v1/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# limitations under the License.

""" This module contains REST servlets to do with rooms: /rooms/<paths> """
import copy
import logging
import re
from typing import TYPE_CHECKING, Dict, List, Optional, Tuple
Expand Down

0 comments on commit b4f0b5d

Please sign in to comment.