changeset ee560e03f717 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=ee560e03f717
description: check that contacts are not in "not in roster" group when we receive a RIE stanza. Fixes #7289
diffstat:
src/dialogs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b96e123c4fda -r ee560e03f717 src/dialogs.py
--- a/src/dialogs.py Sun Feb 10 18:57:25 2013 +0100
+++ b/src/dialogs.py Tue Feb 12 19:31:35 2013 +0100
@@ -3417,7 +3417,7 @@
is_in_roster = True
contact = gajim.contacts.get_contact_with_highest_priority(
self.account, jid)
- if not contact:
+ if not contact or _('Not in Roster') in contact.groups:
is_in_roster = False
name = self.exchange_list[jid][0]
num_list = len(self.exchange_list[jid][1])
changeset 5474cb355489 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=5474cb355489
description: [Daniel Aleksandersen] Use encrypted Google search. Fixes #7289
diffstat:
src/common/config.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 77c663e9c7c2 -r 5474cb355489 src/common/config.py
--- a/src/common/config.py Sun Jan 06 15:11:34 2013 +0100
+++ b/src/common/config.py Mon Jan 14 20:13:45 2013 +0100
@@ -177,7 +177,7 @@
'last_roster_visible': [opt_bool, True],
'key_up_lines': [opt_int, 25, _('How many lines to store for Ctrl+KeyUP.')],
'version': [ opt_str, defs.version ], # which version created the config
- 'search_engine': [opt_str, 'http://www.google.com/search?&q=%s&sourceid=gajim'],
+ 'search_engine': [opt_str, 'https://www.google.com/search?&q=%s&sourceid=gajim'],
'dictionary_url': [opt_str, 'WIKTIONARY', _("Either custom url with %s in it where %s is the word/phrase or 'WIKTIONARY' which means use wiktionary.")],
'always_english_wikipedia': [opt_bool, False],
'always_english_wiktionary': [opt_bool, True],
changeset fddbb95cd0c7 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=fddbb95cd0c7
description: fix order of farstream calls
diffstat:
src/common/jingle_rtp.py | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r 2c5064a2a9f5 -r fddbb95cd0c7 src/common/jingle_rtp.py
--- a/src/common/jingle_rtp.py Wed Dec 26 18:41:31 2012 -0400
+++ b/src/common/jingle_rtp.py Sun Dec 30 16:20:57 2012 +0100
@@ -177,6 +177,15 @@
elif name == 'farstream-codecs-changed':
if self.sent and self.p2psession.get_property('codecs'):
self.send_description_info()
+ if self.transport.remote_candidates:
+ # those lines MUST be done after we get info on our
+ # codecs
+ self.p2pstream.add_remote_candidates(
+ self.transport.remote_candidates)
+ self.transport.remote_candidates = []
+ self.p2pstream.set_property('direction',
+ farstream.DIRECTION_BOTH)
+
elif name == 'farstream-local-candidates-prepared':
self.candidates_ready = True
if self.is_ready():
@@ -234,11 +243,15 @@
def on_negotiated(self):
if self.accepted:
- if self.transport.remote_candidates:
- self.p2pstream.add_remote_candidates(self.transport.remote_candidates)
- self.transport.remote_candidates = []
- # TODO: farstream.DIRECTION_BOTH only if senders='both'
- self.p2pstream.set_property('direction', farstream.DIRECTION_BOTH)
+ if self.p2psession.get_property('codecs'):
+ # those lines MUST be done after we get info on our codecs
+ if self.transport.remote_candidates:
+ self.p2pstream.add_remote_candidates(
+ self.transport.remote_candidates)
+ self.transport.remote_candidates = []
+ # TODO: farstream.DIRECTION_BOTH only if senders='both'
+ self.p2pstream.set_property('direction',
+ farstream.DIRECTION_BOTH)
JingleContent.on_negotiated(self)
def __on_remote_codecs(self, stanza, content, error, action):