-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Failed to load history images cannot be reread #176
Comments
|
@tulir I am sorry I do not get the point here. How does leaving the portal solve my issue? I want to have the whole history, I do not want to abandon a chat at all. I am a bit confused about what is your idea/suggestion. |
@christianlupus |
@Zombie-Feynman I understand that the whatsapp users will be unaware of such an action. I am more concerned about the following: Assume I have the matrix server be synced with whatsapp for quite some time. So I have the history in matrix from the point im time that the sync started (roughly). When I delete the portal, the room persists in matrix but no sync between the portal and the whatsapp chats are carries out anymore.
If a new room is created each time this has to be done, I end up with a whole lot of rooms laying around. This might get a bit messy if it happens too often. Especially if I can do this only by chance (just to see if messages got dropped). If the old room gets overwritten and the old messages get removed, the history I built up during the last months are no longer reachable in matrix. |
@christianlupus The room and old messages get removed by I had to perform this exact procedure because I forgot to check these values on install and didn't get enough old messages. Also, a room had synced before the contact list, so the user names weren't showing. Both are fixed by deleting the portal and syncing. |
Is there a way to guarantee everything will be synced? |
When you have an existing communication in WhatsApp that is older and you open a bridge (with
open
odpm
), the bridge tries to synchronize the last few messages with the matrix room.In my case, I had a wanky phone connection during this sync and the media could not be synchronized. I know this issue from the regular use of the web interface that images are not loading successfully on some WiFis. I need to change the connection and soon after the images are loadable. All right.
The problem in the matrix context is that history seems to be filled only once. So as soon as the history is filled, no further attempts to reread it are made. I have no way to get the bridge to drop the already read history and create a completely new room. If I leave and open again, I get the old room id.
Therefore I pledge for a command of the bridge bot user to remove the user from the room and create a completely new room with a certain (user-specifiable) amount of history read from the WhatsApp server.
For those interested in some technical details, I pushed this gist. I mainly removed the contents of the messages and the phone numbers as the chat was confidential.
The text was updated successfully, but these errors were encountered: