Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eta
gajim
Commits
aff110a0
Commit
aff110a0
authored
18 years ago
by
jimpp
Browse files
Options
Downloads
Patches
Plain Diff
Use psi bug workaround less often, so we never see "/me changed topic" anymore, clarify comment
about why we do that. Fixes #2636.
parent
213cfba4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gajim.py
+7
-5
7 additions, 5 deletions
src/gajim.py
with
7 additions
and
5 deletions
src/gajim.py
+
7
−
5
View file @
aff110a0
...
...
@@ -928,13 +928,15 @@ class Interface:
if
not
gc_control
:
return
gc_control
.
set_subject
(
array
[
1
])
# We can receive a subject with a body that contains "X has set the subject to Y" ...
if
array
[
2
]:
gc_control
.
print_conversation
(
array
[
2
])
# ... Or the message comes from the occupant who set the subject
elif
len
(
jids
)
>
1
:
# Standard way, the message comes from the occupant who set the subject
if
len
(
jids
)
>
1
:
gc_control
.
print_conversation
(
'
%s has set the subject to %s
'
%
(
jids
[
1
],
array
[
1
]))
# Workaround for psi bug http://flyspray.psi-im.org/task/595 , to be
# deleted one day. We can receive a subject with a body that contains
# "X has set the subject to Y" ...
elif
array
[
2
]:
gc_control
.
print_conversation
(
array
[
2
])
def
handle_event_gc_config
(
self
,
account
,
array
):
#('GC_CONFIG', account, (jid, config)) config is a dict
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment