Promise not getting result
leonua opened this issue · 3 comments
leonua commented
trying to launch example code, and faced problem that this code gives timeout error:
client.get_me.then { |user| @me = user }.rescue { |err| puts "error: #{err}" }.wait
but debugging shows that command is sent and result is received by tdlib
here is debug output http://prntscr.com/oajc6h
do you have an idea what is broken or how to fix?
vladislav-yashin commented
Which version of tdlib do you use? Bindings are not compatible with the latest 1.4 version yet.
leonua commented
Probably latest from git... so just downgrade to 1.3 I suppose. Thanks!
leonua commented
Probably to update 'Compatibility table' on README.md :)