Make sure our own JID is in the DB

This commit is contained in:
Philipp Hörist 2017-12-17 13:48:32 +01:00
parent dfafedc21f
commit 2c4c610632
1 changed files with 3 additions and 0 deletions

View File

@ -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()