-
Notifications
You must be signed in to change notification settings - Fork 197
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
Run time issue with queued argument of type uint32_t #660
Comments
Where are queued connections done in QXmpp? |
There are several signals emitted in the OMEMO manager such as qxmpp/src/omemo/QXmppOmemoManager_p.cpp Line 2546 in 8542082
uint32_t . Could that be the problem?
|
Those signals don't use queued connections, because both OmemoManager and OmemoManagerPrivate are always on the same thread. |
And the other (easier) option to solve this issue is probably to use quint32 instead of uint32_t, I guess? |
I did not check the code, I just saw Qt throwing the usual warning about queued arguments type not registered, so somewhere in QXmpp or kaidan there is an issue. And yes moving to quint32 is probably a better change. |
The omemo stack use that in signals connection, unfortunately it's not registered via qRegisterMetatype and cause run time issue in xmpp, which break kaidan omemo support.
This would lead to have some contact for which I can speak omemo, and some not.
Kaidan tried to fix it, but it seems not enough and needs to be fixed in xmpp itself as it's there the queued connectons are done.
The text was updated successfully, but these errors were encountered: