Author Topic: WhatsApp protocol  (Read 437305 times)

0 Members and 1 Guest are viewing this topic.

Offline Der Jude

  • Newbie
  • *
  • Posts: 29
Re: WhatsApp protocol
« Reply #525 on: 12 05 2015, 20:02:17 »
@MPK but that way it doesn't display the last logged messages from it, and i have to manually open logfile instead of just pressing history button.
I guess there is currently nothing i can do about it, right?
 

Offline watcher

Re: WhatsApp protocol
« Reply #526 on: 12 05 2015, 21:09:54 »
have to manually open logfile instead of just pressing history button

History button should open log file.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline watcher

Re: WhatsApp protocol
« Reply #527 on: 12 05 2015, 21:13:34 »
There were thought of getting it back to db, but it will be a long way.

No - ghazan doesn't want to do it - chats will be chats.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Der Jude

  • Newbie
  • *
  • Posts: 29
Re: WhatsApp protocol
« Reply #528 on: 12 05 2015, 23:24:30 »
No - ghazan doesn't want to do it - chats will be chats.

Yeah, being able to see list of participants of group is a certain advantage compared to how it worked in previous whatsapp plugin.

I hope ghazan can work out current issues, add automatic nicks discovery for groups and make the plugin pull new messages from server as soon as there are any. At current time it can lag and stay silent for 10+ minutes and then bomb you with messages, also giving them timestamp by receive date so all of them end having same hh:mm:ss [happens for both the group as well as individual wa contact windows].
 

Offline NazZaR

  • Newbie
  • *
  • Posts: 12
Re: WhatsApp protocol
« Reply #529 on: 13 05 2015, 03:40:23 »
Is there a way to display emoji smiles in whatsapp?
Haven't seen any emoji smile packs out there...
 

MPK

  • Guest
Re: WhatsApp protocol
« Reply #530 on: 13 05 2015, 05:48:20 »
No - ghazan doesn't want to do it - chats will be chats.
I didn't mean removing chats. But you mentioned it would be an idea to safe group messages to db (not this plugin.

@NazZaR, check the wiki. It will bring you to http://forum.miranda-ng.org/index.php?topic=104
 

Offline watcher

Re: WhatsApp protocol
« Reply #531 on: 13 05 2015, 05:50:04 »
But you mentioned it would be an idea to safe group messages to db

I did :) But not many agree with me  :(
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

MPK

  • Guest
Re: WhatsApp protocol
« Reply #532 on: 13 05 2015, 05:51:20 »
I did :) But not many agree with me  :(
I do :)
 

Offline Robyer

Re:WhatsApp protocol
« Reply #533 on: 13 05 2015, 08:36:54 »
I did :) But not many agree with me  :(

I do :)
I do too, but only for "multi user conversatoin" (like on FB), not for "chat" (like on IRC or Jabber).
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline White-Tiger

  • Developer
  • *****
  • Posts: 182
  • Country: 00
  • SendSS maintainer
Re:WhatsApp protocol
« Reply #534 on: 13 05 2015, 08:48:22 »
I did :) But not many agree with me  :(

well... I'm fine with saving to file, but what's the problem with reading the last X lines from it to fill the message window history? (open log, seek to end, and read data in 1024 KB chunks backwards until X lines were found)
Or save full log to file, and a short one to DB... but reading from that file should actually be fast enough.

And for IRC servers that send us their history (though that one was always messed up for me... never in the correct order) we might either be able to detect that they send a history and also append it with a spacer in-between, and or people can disable our history feature on a per group basis.

 

Offline watcher

Re: WhatsApp protocol
« Reply #535 on: 13 05 2015, 09:01:08 »
I do too, but only for "multi user conversatoin" (like on FB), not for "chat" (like on IRC or Jabber).

Totally agree with you!
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline kaomot

Re: WhatsApp protocol
« Reply #536 on: 15 05 2015, 22:12:05 »
Now that there is a web version for Whatsapp, are there plans to make it available for Miranda NG? This way we would not have to use two phone numbers, one for the mobile device and another for Miranda.
 

Offline Chungalin

  • Jr. Member
  • **
  • Posts: 63
  • Country: es
Re: WhatsApp protocol
« Reply #537 on: 16 05 2015, 12:45:08 »
I’m reading netlog and I’m having a lot of disconnect / reconnect like this:

Code: [Select]
[12:21:17 0C60] [WhatsApp_1] XML received
<stream:error>
<ack>
</ack>
</stream:error>
[12:21:17 0C60] [WhatsApp_1] Exit from read-loop
[12:21:17 0C60] [WhatsApp_1] (00CAB330:736) Connection closed internal
[12:21:17 0C60] [WhatsApp_1] (00CAB330:4294967295) Connection closed
[12:21:17 0C60] [WhatsApp_1] Connecting...
[12:21:17 0C60] [WhatsApp_1] Connection request to c.whatsapp.net:5222 (Flags 4)....
[12:21:17 0C60] [WhatsApp_1] (00CAB330) Connecting to server c.whatsapp.net:5222....
[12:21:17 0C60] [WhatsApp_1] (00CAB330) Connecting to ip 173.192.222.170:5222 ....
[12:21:17 0C60] [WhatsApp_1] (736) Connected to c.whatsapp.net:5222
[12:21:17 0C60] [WhatsApp_1] >> sent stream start
[12:21:17 0C60] [WhatsApp_1] >> sent features
[12:21:17 0C60] [WhatsApp_1] >> send auth, auth blob size 20
[12:21:17 0C60] [WhatsApp_1] >> read stream start
[12:21:17 0C60] [WhatsApp_1] >> <stream:features>

WhatsApp server or plugin problem?
 

Offline Ducados

Re: WhatsApp protocol
« Reply #538 on: 17 05 2015, 11:47:15 »
I’m reading netlog and I’m having a lot of disconnect / reconnect like this:

Code: [Select]
[12:21:17 0C60] [WhatsApp_1] XML received
<stream:error>
<ack>
</ack>
</stream:error>
[12:21:17 0C60] [WhatsApp_1] Exit from read-loop
[12:21:17 0C60] [WhatsApp_1] (00CAB330:736) Connection closed internal
[12:21:17 0C60] [WhatsApp_1] (00CAB330:4294967295) Connection closed
[12:21:17 0C60] [WhatsApp_1] Connecting...
[12:21:17 0C60] [WhatsApp_1] Connection request to c.whatsapp.net:5222 (Flags 4)....
[12:21:17 0C60] [WhatsApp_1] (00CAB330) Connecting to server c.whatsapp.net:5222....
[12:21:17 0C60] [WhatsApp_1] (00CAB330) Connecting to ip 173.192.222.170:5222 ....
[12:21:17 0C60] [WhatsApp_1] (736) Connected to c.whatsapp.net:5222
[12:21:17 0C60] [WhatsApp_1] >> sent stream start
[12:21:17 0C60] [WhatsApp_1] >> sent features
[12:21:17 0C60] [WhatsApp_1] >> send auth, auth blob size 20
[12:21:17 0C60] [WhatsApp_1] >> read stream start
[12:21:17 0C60] [WhatsApp_1] >> <stream:features>

WhatsApp server or plugin problem?

I'm experiencing the same.

In my case, Miranda fails to reconnect every single time once it has been disconnected, but connects perfectly at startup.

I'm using stable Miranda and plugins.
 

Offline Chungalin

  • Jr. Member
  • **
  • Posts: 63
  • Country: es
Re: WhatsApp protocol
« Reply #539 on: 17 05 2015, 12:41:54 »
Today, 30 instances of this error in one hour and half. I’m in development mode and I update every time it’s proposed.

Sometimes I find it offline too.