From 2c4c610632111be1fc6d88583478e7aded71aa3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <forenjunkie@chello.at>
Date: Sun, 17 Dec 2017 13:48:32 +0100
Subject: [PATCH] Make sure our own JID is in the DB

---
 gajim/gui_interface.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py
index e65a2bd4bc..07f280a32f 100644
--- a/gajim/gui_interface.py
+++ b/gajim/gui_interface.py
@@ -1109,6 +1109,9 @@ class Interface:
         """
         # ('SIGNED_IN', account, ())
         # block signed in notifications for 30 seconds
+
+        # Add our own JID into the DB
+        app.logger.insert_jid(obj.conn.get_own_jid().getStripped())
         account = obj.conn.name
         app.block_signed_in_notifications[account] = True
         state = self.sleeper.getState()
-- 
GitLab