Skip to content

Commit

Permalink
Merge pull request #255 from DeltaF1/master
Browse files Browse the repository at this point in the history
Restored onFriendRequest functionality
  • Loading branch information
madsmtm authored Feb 7, 2018
2 parents 0b0d617 + ba10306 commit 4c9d3bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fbchat/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1543,9 +1543,9 @@ def getThreadIdAndThreadType(msg_metadata):
#
# self.onSeen(m.get('realtime_viewer_fbid'), m.get('reader'), m.get('time'))

# elif mtype in ['jewel_requests_add']:
# from_id = m['from']
# self.on_friend_request(from_id)
elif mtype in ['jewel_requests_add']:
from_id = m['from']
self.onFriendRequest(from_id=from_id, msg=m)

# Happens on every login
elif mtype == "qprimer":
Expand Down

0 comments on commit 4c9d3bd

Please sign in to comment.