Add a way to restore group information
If a user (like me) has to re-install TS, restore some (old) backup or loses (part of) his data for some other reason, groups are messed up. The groups that he joined do not show up, and as far as I can see, there is currently no way to restore them. If someone tries to re-add me to the group, that does nothing. If someone writes something into the group, I see a message in an "unknown group", but cannot reply since my TS does not know the recipients.
I think there should be some way to send the group data from one TS that still knows this information to the one that lost it. This is what I think could be done (let my buddy be called 'Bob'):
- I restore a backup, my group is gone.
- Bob sends something in that group.
- My TS sees that it's missing a group, and that Bob is most probably part of it. It sends a "please give me the group data" message to Bob.
- Bob's TS receives the message and checks that I am actually part of that group (so we don't leak group data to potential outsiders). It then sends a message with the whole group information to me.
Also, there should be a way to do this manually from Bob's client.
@moxie0 Since you're thinking about adding message types anyway (talking about delivery receipts), could this be done?
Sounds very un-asynchronous.
Well, it's un-asynchronous in that the group is not usable until your buddy has (auto-)answered, of course. The information has to come from somewhere, and it's not on the server (for good reasons). If you refer to someone having to keep state though, I don't think so:
- A client just answers "give me the group details" messages from everyone who is in that group. No need to keep track of anything.
- A client accepts "here are some group details" if and only if: It is coming from someone who has participated in that group (i.e. the guy who just wrote you a message in an unknown group) and it does contain at least all known recipients for that group. Meaning: If such a message is received for a group that we already know, it's not possible to "kick someone out" by sending evil "group detail" messages to everyone.
This would also fix the case that this happens:
- Make a backup
- Bob is added to the group
- Restore the backup.
In this case, the information that Bob joined the group is lost, too. If someone (of the other participants) triggers a "group data" - message to you, this would be accepted (since it contains everyone we already know to be in the group) and Bob is added again.
PLEASE fix this, I just had to reinstall and now I can't rejoin the old groups I was in! This is a usability epic fail.
@mangholb Make one of the other group members add you again manually. This works, even if it looks to them as if you're already in the group. I'm totally with you that this should not be the permanent solution, that's why I opened this issue. ;) But it should work for the moment.
I tried it but it didn't work :/ the only solution I found is to have one of the participants to the group change the avatar. I hope this gets fixed soon or more complaints will arise when (if) textsecure will gain traction
That's very strange, as this should trigger a group update being sent just as the avatar change does. I'll have to check if there were some changes. You just reinstalled?
I don't remember :/ Another problem I noticed is that although a friend of mine has unregistered from push service and uninstalled the app he still appears among the participants...
Isn't the non-working backing up of groups a separate issue? (that I hope the new encrypted backup export is going to solve?)
Any progress on this? The solution outlined by @tinloaf in the beginning of this thread and here seems like it should work. @moxie0, you mentioned it sounded un-asynchronous; do you still see problems with it after elaboration?
Here a log if you whish. Since I often try different ROMs...its annoying that iI can't join a group myself.. Thx so far for your support. Great app! https://gist.github.com/e7ecc798446f801f7afe
Still no progress on this?!
Here's a workaround, though: 1) The person who reinstalled signal has to close all instances of the group chat (i.e. on all devices, mobile and desktop) that might have come up due to messages in that group still being delivered to him/her. 2) Someone else has to re-add the person, ignoring that he/she is already in the group and accept the change in the "edit group" window via the tick mark in the top right corner. This solved it for me and the user could reply to the group thereafter.
@t-animal no need for closing, re-adding etc., doing a group update without any change should be enough. Regarding progress: check out #5876
@haffenloher i already thought so, but i could not verify it without re-reinstalling the app, which i did not want to do l ;) Cool, that there's finally a fix for this :)
Fix in 3.24.0 (cf01959e16acc1ff31cd007d68b3ba43810b6c3a)