Received messages from my other device (phone) are not shown in chat tab
Steps to reproduce:
- Double-click my phone's resource in the contact list shown by Gajim
- Send a message from my phone to myself (Conversations shows myself as a contact in the contact list, that's where I am sending the message)
Expected behavior:
The message should appear in the chat I opened. Gajim should treat this as an unread message in terms of changing the systray icon and changing the caption of the main window.
Actual behavior:
Nothing happens in that tab, the systray icon, or Gajim's window title. However, if I double-click on my phone's resoruce in Gajim's contact list again, a second tab for the same chat opens (that shouldn't usually happen, right?), and that second tab shows the message I sent as part of the history that's loaded. So it seems like the message is received, but not properly acted on.
I sometimes even get a Python exception when I double-click my resource with such an unread message, but cannot reproduce this now.
This is with Gajim 0.16.7 on Linux (Debian testing, Gajim checked out from git).