changeset dd24badec718 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=dd24badec718
description: fix 'gajim-remote open_chat' command for minimized gropchats. 
Fixes #6107

diffstat:

 src/remote_control.py |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r de384276ed24 -r dd24badec718 src/remote_control.py
--- a/src/remote_control.py     Tue Dec 14 23:54:19 2010 +0300
+++ b/src/remote_control.py     Wed Dec 15 12:17:34 2010 +0300
@@ -475,6 +475,8 @@
                     break
                 # jid is in roster
                 elif contact:
+                    minimized_control = \
+                        jid in gajim.interface.minimized_controls[acct]
                     connected_account = acct
                     break
                 # we send the message to jid not in roster, because account is
@@ -488,6 +490,10 @@
         if connected_account is None and first_connected_acct:
             connected_account = first_connected_acct
 
+        if minimized_control:
+            gajim.interface.roster.on_groupchat_maximized(None, jid,
+                connected_account)
+
         if connected_account:
             gajim.interface.new_chat_from_jid(connected_account, jid, message)
             # preserve the 'steal focus preservation'
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to