anotherim/src/main/java/eu/siacs/conversations
Andreas Straub e2d506c96a Never build a session with oneself
If we detect our own ID is not in our own devicelist on receiving an
update, we reannounce ourselves. This used to have the side effect of
modifying the list of devices we thought were in the update set, causing
us to accidentally build a session with ourselves.

This lead to our own key being set to TRUSTED_INACTIVE, resulting in red
lock icons on messages sent by the own device.

We fix this by having publishOwnDeviceId() operate on a copy of the
original set. This commit also includes a db migration which deletes
sessions with oneself and sets own keys back to TRUSTED.
2015-09-05 17:29:58 +02:00
..
crypto Never build a session with oneself 2015-09-05 17:29:58 +02:00
entities Issues with URLs with multiple dots in file. fixes #1373 2015-09-04 19:58:53 +02:00
generator use same method to add message hints to otr message everywhere it is needed 2015-09-01 22:36:56 +02:00
http do not touch pictures that are already in the right format 2015-08-11 16:50:00 +02:00
parser catch invalid base64 on omemo key decoding 2015-08-30 11:11:54 +02:00
persistance Never build a session with oneself 2015-09-05 17:29:58 +02:00
services added special error state for dns timeout 2015-09-01 22:37:52 +02:00
ui invoke onEnterPressed callback only if shift is not pressed 2015-09-04 19:33:31 +02:00
utils ignore timeout exceptions on secondary dns requests 2015-09-05 14:26:31 +02:00
xml modified clearIqCallbacks into 2-step process 2015-08-23 08:01:47 +02:00
xmpp added special error state for dns timeout 2015-09-01 22:37:52 +02:00
Config.java increased carbon grace period to 90s 2015-08-24 21:25:04 +02:00