Philipp Hörist pushed to branch master at gajim / gajim
Commits:
23add367 by Roland Pallai at 2018-03-25T22:46:51+02:00
Fix regression in a4291a27
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -1404,7 +1404,7 @@ class GroupchatControl(ChatControlBase):
sound = 'received'
# Is it a history message? Don't want sound-floods when we join.
- if tim - time.mktime(time.localtime()) > 1:
+ if time.mktime(time.localtime()) - tim > 1:
sound = None
return (highlight, sound)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/23add367be7aa0deb60a4461437344e0fb…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/23add367be7aa0deb60a4461437344e0fb…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a4291a27 by Roland Pallai at 2018-03-25T22:26:59+02:00
Fix sound playback for received group chat messages
Testing for historical messages was broken because `msg_obj.timestamp`
second resolution assumed but this is false and this led to broken
sound playback for received group chat messages.
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -1404,7 +1404,7 @@ class GroupchatControl(ChatControlBase):
sound = 'received'
# Is it a history message? Don't want sound-floods when we join.
- if tim != time.mktime(time.localtime()):
+ if tim - time.mktime(time.localtime()) > 1:
sound = None
return (highlight, sound)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a4291a27f10d1c90a58747cb99e6451033…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a4291a27f10d1c90a58747cb99e6451033…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
69fd7dc7 by Philipp Hörist at 2018-03-25T21:34:42+02:00
Groupchat: Set minimize on auto join default True
- - - - -
1 changed file:
- gajim/dialogs.py
Changes:
=====================================
gajim/dialogs.py
=====================================
--- a/gajim/dialogs.py
+++ b/gajim/dialogs.py
@@ -2584,7 +2584,7 @@ class JoinGroupchatWindow(Gtk.ApplicationWindow):
# Add as bookmark, with autojoin and not minimized
name = app.get_nick_from_jid(self.room_jid)
app.interface.add_gc_bookmark(
- account, name, self.room_jid, autojoin, 0, password, nickname)
+ account, name, self.room_jid, autojoin, 1, password, nickname)
def _on_destroy(self, *args):
if not self.minimal_mode:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/69fd7dc73764c39acb9c9419d8fffe748b…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/69fd7dc73764c39acb9c9419d8fffe748b…
You're receiving this email because of your account on dev.gajim.org.
Yann Leboulanger pushed to branch master at gajim / gajim
Commits:
5874f5c3 by Yann Leboulanger at 2018-03-25T20:52:36+02:00
ability to run history manager even when -s option is used to run Gajim
- - - - -
1 changed file:
- gajim/history_manager.py
Changes:
=====================================
gajim/history_manager.py
=====================================
--- a/gajim/history_manager.py
+++ b/gajim/history_manager.py
@@ -44,8 +44,8 @@ def parseOpts():
config_path = None
try:
- shortargs = 'hvc:l:p:'
- longargs = 'help verbose config-path= loglevel= profile='
+ shortargs = 'hvsc:l:p:'
+ longargs = 'help verbose separate config-path= loglevel= profile='
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
except getopt.error as msg:
print(str(msg))
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5874f5c38880881315fad0b43102de7a1c…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5874f5c38880881315fad0b43102de7a1c…
You're receiving this email because of your account on dev.gajim.org.