psi-im / plugins

Officially supported Psi plugins
56 stars 24 forks source link

OMEMO plugin doesn't work #34

Closed luke-jr closed 6 years ago

luke-jr commented 6 years ago

After enabling the OMEMO plugin, all my contacts say "OMEMO is not available for this contact", even though they all have OMEMO-capable clients (Conversations)

stigger commented 6 years ago

Please try restarting Psi.

luke-jr commented 6 years ago

Now it lets me enable it, but no messages get through either way... :/

Vitozz commented 6 years ago

Please provide more information. Client version, operating system, os architecture.

luke-jr commented 6 years ago

Psi+ v1.3.309 (2018-03-23, Psi:72788ac0, Psi+:df6e90c, webkit)

Linux 4.15.9-gentoo SMP PREEMPT Fri Mar 16 12:32:42 UTC 2018 x86_64 Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz GenuineIntel GNU/Linux

amd64 for now (will be migrating to POWER9 soon)

haegar commented 6 years ago

I had the same problem, after enabling the omemo plugin and restarting psi-plus it just did not do anything.

But it seems adding the button of the omemo plugin to the chat toolbar via the toolbar config dialog has made it more or less work. (Still some strange problems, but too too vague for a bugreport)

dos1 commented 6 years ago

Yup, seems like until you add it to the toolbar and actually use it, it won't really do much.

Neustradamus commented 6 years ago

About the toolbar problem (not new) -> https://chatlogs.jabber.ru/psi-dev@conference.jabber.ru/2018/04/07.html#07:12:45.283092

Recall about OMEMO bugs: https://chatlogs.jabber.ru/psi-dev@conference.jabber.ru/2018/05/02.html#04:36:31.469239

stigger commented 6 years ago

The original problem should be resolved by now.

52871299hzy commented 5 years ago

However, it still doesn't work. After I enabled OMEMO plugin, the message can't be sent.

Neustradamus commented 5 years ago

@luke-jr, @haegar, @dos1, @52871299hzy: All work now?

For all people, have you updated your Psi/Psi+?

I would like feedbacks from all users for OMEMO:

In the same time:

Thanks in advance.

luke-jr commented 5 years ago

It seems hit-or-miss for me, but I haven't installed any updates...

tehnick commented 5 years ago

@luke-jr Is Client Switcher Plugin is disabled in your case?

luke-jr commented 5 years ago

OMEMO Plugin is the only plugin I have installed.

Neustradamus commented 5 years ago

@luke-jr: Not possible to update your version? There were changes since one year...

luke-jr commented 5 years ago

I can't get it to build right now (probably not your fault) and don't have time to figure out why. (Likely a GCC bug they won't help with: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85915)

x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -shared -o libomemoplugin.so .obj/configwidget.o .obj/crypto_ossl.o .obj/crypto_common.o .obj/omemo.o .obj/omemoplugin.o .obj/signal.o .obj/storage.o .obj/qrc_omemoplugin.o .obj/moc_configwidget.o .obj/moc_omemo.o .obj/moc_omemoplugin.o  -lsignal-protocol-c -lcrypto -lQt5Widgets -lQt5Gui -lQt5Xml -lQt5Sql -L/usr/lib64/mysql -lQt5Network -lQt5Core -lGL -lpthread  
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib64/libsignal-protocol-c.a(signal_protocol.c.o): In function `__x86_return_thunk':
signal_protocol.c:(.text.__x86_indirect_thunk[__x86_indirect_thunk]+0x0): multiple definition of `__x86_return_thunk'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/crtbeginS.o:crtstuff.c:(.text.__x86_return_thunk[__x86_return_thunk]+0x0): first defined here