-
Notifications
You must be signed in to change notification settings - Fork 82
telegram-purple in bitlbee #23
Comments
Hi, unfortunately this doesn’t work in the current version. The fallback mode is used to work with older version of libtgl, since it would already store the old authentication key before the registration, but now it doesn't do that anymore and the old SMS code is not valid with a new authentication key. I’m currently working on a new fallback mode, where it would simply open a new chat where you can enter the SMS code, in case the requests-API to open the popup is not available. |
Hi, Sounds promising, do you think the fallback mode would work in bitlbee like that? |
I haven't used Bitlbee yet, I only know that there are other messengers like Empathy that also don't implement the user request and I implement that mode to make it work on those. Its impossible to guarantee that it will work on applications that load libpurple plugins in some non-standard way, but I will try to make it work on as many as possible. |
ok thanks, i will keep an eye on the project for updates and will keep trying. |
I commited the new fallback mode, does it work now? |
It does say im signed in but no contacts. I get the code but i dont get a new conversation to fill in the code. what is the password for by the way? this is what i get without a password set input>account telegram on these are the options i can set |
Hi, I just installed a bitlbee server on a VM and I can confirm that the patch doesn't work. Bitlbee doesn't seem to open a chat because the prplcb_conv_new callback will only handle Conversations of type "CHAT". Of course I could change the type of the chat but that might cause problems in Empathy or other clients that don't support group chats. To be honest, I really don't want to go down the road of adding a hack or a workaround for every single libpurple client that doesn't implement all ui operations. Implementing this in Bitlbee is probably as easy as implementing purple_request_input and calling request_add with the right parameter. |
i understand, thanks for having a look at it. I will try to find a workaround with the info you just gave. is it perhaps possible to use data generated bij the tg-cli from vysheng? |
I am still facing this. @ghost were you able to figure out a workaround? |
i have tried to use telegram-purple in de bitlbee-purple application in the irssi and weechat irc clients. i can get as far as setting the 'password' and 'code' variable (assuming this is the sms code i receive), then trying to log in disconnects the whole bitlbee server(running on localhost).
The text was updated successfully, but these errors were encountered: