yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

demo for receiving message.

Open girish946 opened this issue 11 years ago • 2 comments

I want to write the code to receive a message. this module should just receive a message and exit. can any one give me the directions... I've gone through yowsup.demos.cli but couldn't understand how to keep the thread alive and receive the messages.

thanks in advance!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

girish946 avatar Jun 09 '15 10:06 girish946

if you look at line 53 in echo layer:

self.stack.loop()

is what keeps the program from exiting and receive messages

tgalal avatar Jun 22 '15 00:06 tgalal

I created a list to append the recevied messages(in layer.py) and then tried printing them out in run.py but it is returning an empty list.Please help

shubham14 avatar Jul 15 '15 06:07 shubham14