Live data from Hacker News

WhatsApp is blocking Telegram links

orat.io

111–120 of 240 posts

Re: WhatsApp is blocking Telegram links

#111
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

Holy shit, this is real:

https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/...

And people raise an eyebrow when I say don't use Russian made software or hardware. This app is from the guys who started VK. There's significant levels of corruption in Russian business culture which goes unchallenged and it peters down to software.

I imagine Facebook got sick of this treatment and retaliated. When is the media that is breathlessly hyping this issue going to even mention this?

Re: WhatsApp is blocking Telegram links

#112
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

Is it intentional to have this condition on line 666? :-P

Re: WhatsApp is blocking Telegram links

#113
post #44

Earlier quoted context omitted.

Even variable names? I know that class/method/field names are visible, but I didn't think that local variable names were. I can't see a reason for them to be, aside from debugging... and presumably they're not shipping a debug build.

I don't work with Android, but java code is usually visible after decompilation. Unless there is specific obfuscation tech being used, you should assume all your java code can be seen by others.

Proguard is set up to obfuscate by default on release builds with the default build script, but many devs often turn it off or use a different build system without it as a build step. You often need to add exceptions for 3rd party libs that rely on class names or variable names not changing for whatever reason (usually reflection).

Re: WhatsApp is blocking Telegram links

#114
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

hmm... weird. I'm running the latest version of telegram on my android phone, no problems at all to send messages containing "whatsapp". i will look out for that in upcoming updates of telegram android.

Re: WhatsApp is blocking Telegram links

#115

Earlier quoted context omitted.

From my experience, AIM lost because it was the cool thing to do in high school before everyone had cell phones. Once texting/BBM was a thing, AIM became completely obsolete. I don't think I know anyone who ever used MSN Messenger.

>I don't think I know anyone who ever used MSN Messenger I did because it had the best quality video chat at the time, before Skype became a thing, but that was probably 15 years ago. My current company used to use it for in-office communication as recently as five years ago when I was first hired. It was an abysmal mess of sending out group chats as individual windows every time someone had a question. For a softwar…

My company used Yahoo! Messenger for the longest time. Thank goodness for HipChat/Slack.

Re: WhatsApp is blocking Telegram links

#116
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

I don't know what's worse, this, or the fact that it is in a 488 LOC method. I can't trigger this behaviour in telegram though on mac or windows phone. Maybe just for Android?

That's because this is the Android source code.

I don't have time right now to dig through the source myself, but the desktop source code is here if you want to see if this logic is in it: https://github.com/telegramdesktop/tdesktop

Re: WhatsApp is blocking Telegram links

#117
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

Wow it has been there since the end of June.

Re: WhatsApp is blocking Telegram links

#118
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

hmm... weird. I'm running the latest version of telegram on my android phone, no problems at all to send messages containing "whatsapp". i will look out for that in upcoming updates of telegram android.

It's case sensitive. Try "WhatsApp"

Re: WhatsApp is blocking Telegram links

#119
post #109

WhatsApp is not linkifying Telegram URLs, but Telegram is not even sending messages that are shared from WhatsApp. Telegram is open source, so you can see for yourself here. https://github.com/DrKLO/Telegram/blob/74def22213846b1f90a26... On line 666: if (sendingText.contains("WhatsApp")) { //who needs this sent from ...? sendingText = null; }

I guess this code is only used when sharing something from WhatsApp to Telegram. If you share a picture for example, it removes the "Sent from Whatsapp" advertisment message. Correct me if i am wrong...

Re: WhatsApp is blocking Telegram links

#120

According to the Telegram FAQ [1] the Telegram Facebook page [2] has been taken down as well. [1] https://telegram.org/faq#facebook [2] https://www.facebook.com/tlgrm

Interesting that this [0] page exists which has 84113 likes · 1198 talking about this

[0] https://www.facebook.com/Telegram-Messenger-438429349592627/

Post reply on HN