Skip to content

To (Contact) bug #2

@lfarah

Description

@lfarah

I was searching on your Python code of iMessageFromFile and I noticed that the query was always returning the phone number, and not the name of the person, so when I would IM an user, it would always appear:
screen shot 2015-03-15 at 3 11 27 pm

I made some changes on your code on iMessageFromFile and now it's always returning the name:

 def findBestiMessageArgument(name, phone_number_list):
 if not buddyList:
createBuddyList()
for phone_number in phone_number_list:
num = string.strip(phone_number)
if len(num) == 10:
  num = "1" + num
return name

screen shot 2015-03-15 at 3 12 56 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions