Chat history problem: only outgoing messages are shown in UI (incoming are in database but hidden)
Hi,
I've built linphone-desktop both using the SDK in source form using the latest 5.2.4 release, as well as using updated GNU Guix packages, and in both cases I'm facing the problem where the chat history shown in a chat/conference window only shows the messages I've sent and not those received.
The same issues seems to have been noted here 3 years ago: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983365#56 as part of resolving a bug where the soci
package would cause const expr exceptions and prevent the chat messages from being written to the database at all.
I've applied their patch to the soci
package in Guix, and using sqlitebrowser
I'm able to see that all the messages get saved to the chat_message_content
table, so it seems the problem must lie in the UI logic of linphone-desktop.
I'll dig some more; debug logs suggest this is handled around line 959 in ChatRootModel.cpp.