-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collaboration #1
Comments
Whoa, what happened to my e-mail software! Didn't see the activity until now. Anyway, yeah, I made this plugin using unmodified tdlib, hopefully making it more future-proof. I've been using it for two months now, but am hesitant to advertise it because it's still not fully functional. For example, adding contacts has a funny glitch, no support for non-text message content (pictures would be most important), no group chats. But hopefully it will become fully usable in the future. |
Adding contacts now works correctly. |
Receiving pictures is now supported, as are group chats to some extent. At this point, I would say it becomes somewhat usable. |
Hell yeah! I'm currently working on various things, I'll try to have a look soon. Awesome work, I hope this can replace telegram-purple one day! :D |
We just need to set a target for when that can happen, in terms of which features must be implemented. The missing features list from the readme here is my first attempt at that, but I can have missed something. If nothing else, that's what I would like to get help with: what features does telegram-purple have? |
Good question, since I wasn't there from the beginning and honestly never tried to understand the entire codebase ^^'
Specifically, tgp does not implement:
I'll try to install and test tdlib-purple soon-ish. (Might take a while, due to real life.) You might also want to get in contact with Thorsten "mirabilos" Glaser, I'm sure he'll be glad to get tdlib-purple into Debian, which would get you lots of users: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958828 Btw: You're amazing, thanks for carrying this! :D EDIT: Now that I look at the list, it seems a lot actually. Don't worry too much if one or two things are missing. :) |
The official telegram client shows people online only briefly when they interact with the application, and offline the remaning 99% of the time. Or at least that's how all my contacts get treated. Should we not mirror its behaviour?
How so? Does libpurple not just store the logs however it wants (under ~/.purple/logs/telegram/my phone number/their phone number/a bunch of html files)?
Should we just re-use the one you already have for telegram-purple? I could join it – as soon as I can do so using my client ;-) |
Both behaviors are fine in my eyes; implement whichever you like better. :)
Technically yes, but the "their phone number" is something that your plugin sets somewhere. I don't quite recall the name of the property, it wasn't
I'm not sure whether that's a good idea. My expectation is that telegram-purple will continue to be in use for several years after being abandoned. I'll ask a few people. |
It's
Yeah, I meant same chat for both projects: I suspect people will be confusing the two, anyway. But either way is fine. |
Ah, now I recall why tgp doesn't do that: The phone number isn't always available. At least that's how I remember it. Does tdlib always give you access to someone's phone number? |
Oh. There's this privacy setting for not sharing your phone number with your contacts, which none of my contacts have so I haven't encountered it yet. More work... |
😄 Sorry to rain on your parade, but I hope you can use my "heads-ups" to avoid getting stuck in a design corner. I think the telegram user-ids are public, and they are "just" huge, unique, otherwise anonymous numbers. Those sound like a good candidate, because they necessarily are revealed with every message, and don't change, right? |
It's indeed the only choice, because everything else is non-unique or optional. Fortunately, switching should never be too hard. |
Fortunately, this plugin has comprehensive regression testing, so I feel confident making a change like that. |
@BenWiederhake could you please enable issues in your fork? https://github.com/BenWiederhake/tdlib-purple Now we have old TG plugin archived and the new is not actively developed and already forked. Even if the plugin has problems it still should be published to repos of all distros because today we simply don't have an alternative to the official client which has a lot of own problems. |
It would be great to replace the existing telegram-purple with the new tdlib-purple to keep existing accounts, contacts and chat history. @EionRobb would it be ok for you? You may unarchive the repo and give a write access to @BenWiederhake so that he can merge the projects. |
Do I have access to do that? I can try I guess 🙂 Edit: doesn't look I can. Probably not the best idea to effectively 'trick' the package maintainers into pulling a new project's code anyway |
Keeping the chat history around would require some very significant effort, it's probably easier to just write in the readme where and how to move your files. Contacts are stored server-side, I believe, so I'm a bit confused: I thought the pidgin-contacts are rewritten on every reload, aren't they? And finally, this hypothetical transition would have to be repeated for each pidgin-account. This does not sound like a good idea.
It really shouldn't, it cannot possibly work anymore. Also, it is incorrect: It's only present in bullseye (oldstable) and sid, and therefore not visible to the vast majority of users (stable and testing). Also, it is fundamentally incompatible with the way Debian works: As already discussed, paraphrasing: What should we do when the package is accepted in Debian stable and telegram adds things / changes the API? Do they commit in keeping things working for 5+ years (stable+oldstable+lts or any ubuntu lts release)? Sure, Telegram's API has "layers" and is totally "backwards compatible", and yet here we are, with a broken client a few years later, proving that it is not in fact backwards compatible. Don't package this software into Debian stable. ( EDIT: Since this "issue" doesn't track anything completable anymore, I'll close it. |
Yeah, you right. Thank you |
Hi, thanks for starting this!
In this issue I want to track how / when / in how far we want to redirect people from telegram-purple to tdlib-purple. (Note: I'm the de facto maintainer of telegram-purple, and would be happy to abandon ship.)
I haven't had the opportunity to look deeply into the code yet, but I will do so in the coming days. Hooray! :D
The text was updated successfully, but these errors were encountered: