maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Yappari - New maintainership and new features! (https://talk.maemo.org/showthread.php?t=94465)

enne30 2016-01-28 07:15

Re: [Announce] Yappari - New maintainership and new features!
 
Quote:

Originally Posted by enne30 (Post 1496531)
Sorry for late..

Attached log file contains the following use case: contacts 39380 and 39348 send me messages in same group (encrypted) and private messages (plain text)..
It seems it happens only in one group atm (not sure anyway..); maybe some group partecipant could force encryption in entire group? (group is plenty of devices: iphones, android, windoze phone :eek: )

EDIT (maybe a work-around):
try to ask to all contacts sending encrypted messages in group chats, to send you private messages until you see at least one (first ones may be encrypted and not displayed);
it seems this way server stores information that we cannot receive encrypted messages and you will start to receive plain-text again from those contacts in groups :eek:
I don't know how much time this will last, until clients start again to send encrypted messages... I'll let you know...

UPDATE: this morning I received encrypted messages again from same contacts of the work-around... it worked for a really short time :(
I will try again work-around without going off-line at night, anyway I almost lost my hopes..

awroax 2016-01-28 21:59

Re: [Announce] Yappari - New maintainership and new features!
 
Messages from iPhone are not received for me

ceene 2016-01-29 18:39

Re: [Announce] Yappari - New maintainership and new features!
 
Hi,

I'm testing a patch that tries to solve this issue with the groups by notifying both the group and the participant that we only accept clear text messages. As soon as I verify it doesn't break anything I'll release it too to extras-devel, I hope some of you will be able to test it.

The final mission, however, would be to add Textsecure to Yappari. I've ported to scrathcbox the libraries that are needed to do this, but there's still a whole lot of work and code that needs to be done on Yappari itself to support this. I don't know when -or for that matter, if- I will do it.

enne30 2016-01-30 10:17

Re: [Announce] Yappari - New maintainership and new features!
 
Just now getting new version from devel.... let's see if I get banned or not :eek: :D

EDIT: atm not banned and patch seems to work! Thanks ceene, I'll test it from now on and report strage things :)

Code:


INCOMING:
<message>
  from=39320xxxxxxx-1435563407@g.us
  id=F7ABD67F8A8869BEFB1
  notify=yyyyyyy
  participant=39328xxxxxxx@s.whatsapp.net
  t=1454150172
  type=text
<enc>
  type=skmsg
  v=2
  3ÒÃâÜ pŠ

parseMessageInitialTagAlreadyChecked
Encoded message from 39320xxxxxxx-1435563407@g.us
OUTGOING:
<receipt>
  id=F7ABD67F8A8869BEFB1
  to=39320xxxxxxx-1435563407@g.us
  type=error
<error>
  type=plaintext-only

OUTGOING:
<receipt>
  id=F7ABD67F8A8869BEFB1
  to=39328xxxxxxx@s.whatsapp.net
  type=error
<error>
  type=plaintext-only

INCOMING:
<chatstate>
  from=39320xxxxxxx-1435563407@g.us
  participant=39328xxxxxxx@s.whatsapp.net
<composing>

INCOMING:
<chatstate>
  from=39320xxxxxxx-1435563407@g.us
  participant=39328xxxxxxx@s.whatsapp.net
<paused>

INCOMING:
<message>
  from=39320xxxxxxx-1435563407@g.us
  id=F7ABD67F8A8869BEFB2
  notify=yyyyyyy
  participant=39328xxxxxxx@s.whatsapp.net
  t=1454150174
  type=text
<body>
  4

parseMessageInitialTagAlreadyChecked
OUTGOING:
<receipt>
  id=F7ABD67F8A8869BEFB2
  participant=39328xxxxxxx@s.whatsapp.net
  to=39320xxxxxxx-1435563407@g.us


ceene 2016-01-30 15:20

Re: [Announce] Yappari - New maintainership and new features!
 
Great! I couldn't test it myself because suddenly WA or my contacts somehow decided not to send me anything ciphered at all. I'll be posting the changelog soon, but it's just that fix.

newone2 2016-01-31 03:34

Re: [Announce] Yappari - New maintainership and new features!
 
Thanks Ceene!!! Well done ;)
The patch works great since round about 20 hours.

EDIT: Sorry, it looked like it was working....

incrys 2016-01-31 13:26

Re: [Announce] Yappari - New maintainership and new features!
 
For me the patch don't work...
on group i lost a lot of message and i can't read the private message by iphone user...

incrys 2016-01-31 13:27

Re: [Announce] Yappari - New maintainership and new features!
 
For me the patch don't work...
on group i lost a lot of message and i can't read the private message by iphone user...

enne30 2016-01-31 14:46

Re: [Announce] Yappari - New maintainership and new features!
 
Are you using latest version from extra-devel?

In addition, patch won't restore old messages (they're lost afaik), but it will let new messages come plain text in group and private chats..

To be more accurate, I noticed occasionaly some message could get lost:
- Previous Yappari version, private chat, Iphone user (anyway my contact noticed it not seeing double thick and resended successfully)
- Current Yappari version, group chat, multiple users (it happened I lost a couple messages first time when I ran patched Yappari version; since then it seems all right)

incrys 2016-01-31 15:37

Re: [Announce] Yappari - New maintainership and new features!
 
Yes i have install the new version 2.0.24...
With the 2.0.23 i lost any group message and message by iphone user, now i lost some group message and any group message by iphone user and i lost any private message by iphone user...


All times are GMT. The time now is 03:48.

vBulletin® Version 3.8.8