Comments (9)
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.
from telegram-purple.
Hi,
Sounds promising, do you think the fallback mode would work in bitlbee like that?
from telegram-purple.
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.
from telegram-purple.
ok thanks, i will keep an eye on the project for updates and will keep trying.
from telegram-purple.
I commited the new fallback mode, does it work now?
from telegram-purple.
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.
could it be possible to make it work like i tried before where i set 'code' variable?
what is the password for by the way?
this is what i get without a password set
input>account telegram on
Enter password for account telegram first (use /OPER)
these are the options i can set
input>account telegram set
auto_connect = 'true'
auto_reconnect = 'true'
away is empty
compat-verification = 'false'
display_name is empty
nick_format is empty
nick_source = 'handle'
password = '********' (hidden)
tag = 'telegram'
username = '#########'
from telegram-purple.
Hi, I just installed a bitlbee server on a VM and I can confirm that the patch doesn't work.
Setting the code as an account option doesn't work, as I need a way to to resend the SMS code during runtime and can't restart the plugin (authentication key issue I've already described in the comment above). Afaik there is no event that signals account setting changes, so I don't know when and if the code was changed.
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.
from telegram-purple.
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?
from telegram-purple.
I am still facing this. @ghost were you able to figure out a workaround?
from telegram-purple.
Related Issues (20)
- Plugin does not work with UNC paths HOT 2
- Crash in g_hash_table_lookup_node
- A crash that shoudln't have happened HOT 3
- Image files not transferred HOT 5
- New contact not added until the plugin is restarted
- Plugin causes frequent Pidgin crashes HOT 2
- RPC_CALL_FAIL 420: FLOOD_WAIT_333 HOT 6
- pidgin-telegram-1.4.7 failure to connect: RPC_CALL_FAIL 420: FLOOD_WAIT_333 HOT 8
- Sent messages do no appear in the local window, new messages don't appear HOT 9
- Verification does work
- SIGSEGV in tgp_g_list_free_full HOT 1
- Crash in pending_reads_add HOT 16
- Please mark project as read-only HOT 3
- SIGSEGV in timer_alarm HOT 9
- SIGSEGV in tgp_blist_lookup_get_id
- SIGSEGV in tglmp_encrypt_send_message HOT 2
- FreeBSD ld: error: unable to find library -lpthreads
- Received self-destructing message, not displayed due to lack of support HOT 1
- Valid telephone number treated as invalid. HOT 2
- Necessity of relaunch of `pidgin` after installing `telegram-purple` not communicated to user. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram-purple.