Added handling of 'user is typing' event

This commit is contained in:
2019-01-13 12:37:19 -06:00
parent ba40b74230
commit 43b762dd2a
2 changed files with 2 additions and 2 deletions

View File

@@ -24,6 +24,6 @@ class worker(threading.Thread):
elif event.type == VkEventType.USER_OFFLINE:
pub.sendMessage("user-offline", event=event)
elif event.type == VkEventType.USER_TYPING:
pub.sendMessage("user-typing", event=event)
pub.sendMessage("user-typing", obj=event)
except:
pub.sendMessage("longpoll-read-timeout")