Skip to content

Commit

Permalink
added open_chat_to_myself()
Browse files Browse the repository at this point in the history
fixed #55
  • Loading branch information
NavpreetDevpuri committed Dec 26, 2020
1 parent 609995e commit 5b87fc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tithiwa/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def get_mobile_number_of(self, nameornumber, _shouldoutput=(True, True)):
self._close_chat_info()
return number

def open_chat_to_myself(self):
self.open_chat_to_number_using_url(self.get_my_number())

def _wait_for_mobile_number_to_appear(self):
number = ''
while number == '':
Expand Down

0 comments on commit 5b87fc7

Please sign in to comment.