From a946050228cb903265793664c1b78cdc103eebc9 Mon Sep 17 00:00:00 2001 From: cirrux Date: Sun, 31 Dec 2017 12:27:55 -0500 Subject: [PATCH] Re-enable typing notification --- fbchat/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fbchat/client.py b/fbchat/client.py index c45252e..ab09c70 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -1526,10 +1526,10 @@ class Client(object): self.onInbox(unseen=m["unseen"], unread=m["unread"], recent_unread=m["recent_unread"], msg=m) # Typing - # elif mtype == "typ": - # author_id = str(m.get("from")) - # typing_status = TypingStatus(m.get("st")) - # self.onTyping(author_id=author_id, typing_status=typing_status) + elif mtype == "typ": + author_id = str(m.get("from")) + typing_status = TypingStatus(m.get("st")) + self.onTyping(author_id=author_id, typing_status=typing_status) # Delivered