Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b6c43c90 by Philipp Hörist at 2018-10-03T06:08:32Z
Fix the fix
- - - - -
1 changed file:
- gajim/common/connection.py
Changes:
=====================================
gajim/common/connection.py
=====================================
@@ -647,7 +647,7 @@ class Connection(CommonConnection, ConnectionHandlers):
if self.old_show:
self.connected = app.SHOW_LIST.index(self.old_show)
app.nec.push_incoming_event(OurShowEvent(
- None, conn=self, show=app.SHOW_LIST[self.old_show]))
+ None, conn=self, show=self.old_show))
else: # we default to online
self.connected = 2
app.nec.push_incoming_event(OurShowEvent(
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b6c43c90666d800fe3896656d1bf80ee8c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b6c43c90666d800fe3896656d1bf80ee8c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
ef3cc504 by Philipp Hörist at 2018-10-03T05:53:30Z
Pass correct show state
- - - - -
1 changed file:
- gajim/common/connection.py
Changes:
=====================================
gajim/common/connection.py
=====================================
@@ -646,12 +646,12 @@ class Connection(CommonConnection, ConnectionHandlers):
def set_oldst(self): # Set old state
if self.old_show:
self.connected = app.SHOW_LIST.index(self.old_show)
- app.nec.push_incoming_event(OurShowEvent(None, conn=self,
- show=self.connected))
+ app.nec.push_incoming_event(OurShowEvent(
+ None, conn=self, show=app.SHOW_LIST[self.old_show]))
else: # we default to online
self.connected = 2
- app.nec.push_incoming_event(OurShowEvent(None, conn=self,
- show=app.SHOW_LIST[self.connected]))
+ app.nec.push_incoming_event(OurShowEvent(
+ None, conn=self, show=app.SHOW_LIST[self.connected]))
def disconnectedReconnCB(self):
"""
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ef3cc504d236e1976fa556f57df1612303…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ef3cc504d236e1976fa556f57df1612303…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
ff424b50 by Philipp Hörist at 2018-10-01T19:25:10Z
Fix passing wrong type
- - - - -
1 changed file:
- gajim/common/contacts.py
Changes:
=====================================
gajim/common/contacts.py
=====================================
@@ -310,7 +310,7 @@ class LegacyContactsAPI:
status=contact.status, sub=contact.sub, ask=contact.ask,
resource=contact.resource, priority=contact.priority,
keyID=contact.keyID, client_caps=contact.client_caps,
- chatstate=contact.chatstate,
+ chatstate=contact.chatstate_enum,
idle_time=contact.idle_time, avatar_sha=contact.avatar_sha)
def add_contact(self, account, contact):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ff424b50841744e20562b855290b2b48a0…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ff424b50841744e20562b855290b2b48a0…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
4858bb46 by Philipp Hörist at 2018-10-01T05:50:48Z
Fix wrong argument
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
@@ -2189,7 +2189,7 @@ class GroupchatControl(ChatControlBase):
correct_id = None
con = app.connections[self.account]
chatstate = con.get_module('Chatstate').get_active_chatstate(
- self.contact.jid)
+ self.contact)
# Send the message
app.nec.push_outgoing_event(GcMessageOutgoingEvent(
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4858bb46f2d2754e294a10896b0a6deb14…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4858bb46f2d2754e294a10896b0a6deb14…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
07b175d5 by Daniel Brötzmann at 2018-09-30T13:35:18Z
Add desktop actions start-chat and show-next-pending-event
- - - - -
1 changed file:
- data/org.gajim.Gajim.desktop.in
Changes:
=====================================
data/org.gajim.Gajim.desktop.in
=====================================
@@ -13,3 +13,14 @@ StartupWMClass=Gajim
Terminal=false
Type=Application
MimeType=x-scheme-handler/xmpp;
+Actions=StartChat;ShowNextPendingEvent;
+
+[Desktop Action StartChat]
+Exec=gajim --start-chat
+Name=Start a new chat
+Icon=org.gajim.Gajim
+
+[Desktop Action ShowNextPendingEvent]
+Exec=gajim --show-next-pending-event
+Name=Show next pending event
+Icon=org.gajim.Gajim
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/07b175d541b1a3ab33fb1e7f3e1bc3453c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/07b175d541b1a3ab33fb1e7f3e1bc3453c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5be73fa8 by Philipp Hörist at 2018-09-30T13:34:59Z
Fix typo
- - - - -
1 changed file:
- gajim/gui_menu_builder.py
Changes:
=====================================
gajim/gui_menu_builder.py
=====================================
@@ -749,7 +749,7 @@ def get_account_menu(account):
continue
action = 'app.{}{}'.format(account, action)
menuitem = Gio.MenuItem.new(label, action)
- if 'add_contact' in action:
+ if 'add-contact' in action:
variant = GLib.Variant('as', [account, ''])
else:
variant = GLib.Variant('s', account)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5be73fa8249ae45266145d62bf288b1732…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5be73fa8249ae45266145d62bf288b1732…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
acf79ffe by Philipp Hörist at 2018-09-30T08:01:42Z
MAM: Up the requested page size
- - - - -
1 changed file:
- gajim/common/modules/mam.py
Changes:
=====================================
gajim/common/modules/mam.py
=====================================
@@ -497,7 +497,7 @@ class MAM:
None, query_id=query_id))
def _get_archive_query(self, query_id, jid=None, start=None, end=None,
- with_=None, after=None, max_=30):
+ with_=None, after=None, max_=70):
# Muc archive query?
namespace = muc_caps_cache.get_mam_namespace(jid)
if namespace is None:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/acf79ffe8a36b3fccd519ab149bfa3fd35…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/acf79ffe8a36b3fccd519ab149bfa3fd35…
You're receiving this email because of your account on dev.gajim.org.