Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5776d3de by Philipp Hörist at 2019-01-06T10:23:30Z
Chatstates: Add more log output
- - - - -
1 changed file:
- gajim/common/modules/chatstates.py
Changes:
=====================================
gajim/common/modules/chatstates.py
=====================================
@@ -301,12 +301,15 @@ class Chatstate:
# which are not allowed to see our status
if not contact.is_pm_contact:
if contact and contact.sub in ('to', 'none'):
+ log.info('Contact not subscribed: %s', contact.jid)
return
if contact.show == 'offline':
+ log.info('Contact offline: %s', contact.jid)
return
if not contact.supports(nbxmpp.NS_CHATSTATES):
+ log.info('Chatstates not supported: %s', contact.jid)
return
if state in (State.ACTIVE, State.COMPOSING):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5776d3de4824cd74c1b9be7bc41277ae66…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5776d3de4824cd74c1b9be7bc41277ae66…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a64d986c by Philipp Hörist at 2019-01-06T01:15:17Z
Fix pylint error
- - - - -
6a958c57 by Philipp Hörist at 2019-01-06T10:10:07Z
Pass contact instead of string
Fixes #9529
- - - - -
1 changed file:
- gajim/common/modules/chatstates.py
Changes:
=====================================
gajim/common/modules/chatstates.py
=====================================
@@ -237,7 +237,7 @@ class Chatstate:
if not contact.supports(nbxmpp.NS_CHATSTATES):
return None
- self.set_active(contact.jid)
+ self.set_active(contact)
return 'active'
@ensure_enabled
@@ -355,8 +355,7 @@ class Chatstate:
if contact.is_groupchat():
return app.config.get_per(
'rooms', contact.jid, 'send_chatstate', 'composing_only')
- else:
- return app.config.get('outgoing_chat_state_notifications')
+ return app.config.get('outgoing_chat_state_notifications')
def remove_delay_timeout(self, contact):
timeout = self._delay_timeout_ids.get(contact.jid)
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/eb99291d44626eb3dfbdb6ebd72f70652…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/eb99291d44626eb3dfbdb6ebd72f70652…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
eebccaf0 by Philipp Hörist at 2019-01-05T23:05:12Z
Remove unused import
- - - - -
1 changed file:
- gajim/gtk/bookmarks.py
Changes:
=====================================
gajim/gtk/bookmarks.py
=====================================
@@ -19,7 +19,6 @@ from gi.repository import Gdk
from gajim.common import app
from gajim.common import helpers
-from gajim.common.i18n import Q_
from gajim.common.i18n import _
from gajim import gui_menu_builder
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/eebccaf07d2d9709875b0530605d8b3a28…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/eebccaf07d2d9709875b0530605d8b3a28…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
4c17b55a by Philipp Hörist at 2019-01-05T19:17:20Z
Fix pylint error
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
@@ -431,7 +431,7 @@ class GroupchatControl(ChatControlBase):
def update_actions(self):
if self.parent_win is None:
return
- win = self.parent_win.window
+
contact = app.contacts.get_gc_contact(
self.account, self.room_jid, self.nick)
con = app.connections[self.account]
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4c17b55a91cca31e4b5ec5c3c070652da6…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4c17b55a91cca31e4b5ec5c3c070652da6…
You're receiving this email because of your account on dev.gajim.org.