Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Hotfix: usernames with dots were ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Mishchenko committed Jul 6, 2021
1 parent 9848fe1 commit 0578a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion insomniac/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ class ProfileView(ActionBarView):
FOLLOWERS_BUTTON_ID_REGEX = '{0}:id/row_profile_header_followers_container|{1}:id/row_profile_header_container_followers'
FOLLOWING_BUTTON_ID_REGEX = '{0}:id/row_profile_header_following_container|{1}:id/row_profile_header_container_following'
MESSAGE_BUTTON_CLASS_NAME_REGEX = TEXTVIEW_OR_BUTTON_REGEX
USERNAME_REGEX = re.compile(r'[a-z0-9_-]+')
USERNAME_REGEX = re.compile(r'[a-z0-9._-]+')

def __init__(self, device: DeviceFacade, is_own_profile=False):
super().__init__(device)
Expand Down

0 comments on commit 0578a16

Please sign in to comment.