Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
205
Issues
205
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
7c531eee
Commit
7c531eee
authored
Jan 21, 2011
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix on_user_join issue, and displays the jid if available on /info
parent
d8f92a67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
src/core.py
src/core.py
+1
-1
src/tabs.py
src/tabs.py
+1
-2
No files found.
src/core.py
View file @
7c531eee
...
...
@@ -387,7 +387,7 @@ class Core(object):
When a new user joins a groupchat
"""
room
.
users
.
append
(
User
(
from_nick
,
affiliation
,
show
,
status
,
role
))
show
,
status
,
role
,
jid
))
hide_exit_join
=
config
.
get
(
'hide_exit_join'
,
-
1
)
if
hide_exit_join
!=
0
:
if
not
jid
.
full
:
...
...
src/tabs.py
View file @
7c531eee
...
...
@@ -390,12 +390,11 @@ class MucTab(ChatTab):
user
=
self
.
get_room
().
get_user_by_name
(
args
[
0
])
if
not
user
:
return
self
.
core
.
information
(
"Unknown user: %s"
%
args
[
0
])
self
.
get_room
().
add_message
(
"%s%s: show: %s, affiliation: %s, role: %s
\n
%s"
%
(
args
[
0
],
user
.
user
.
show
or
'Available'
,
user
.
role
or
'None'
,
user
.
affiliation
or
'None'
,
user
.
status
))
self
.
get_room
().
add_message
(
"%s%s: show: %s, affiliation: %s, role: %s
\n
%s"
%
(
args
[
0
],
' (%s)'
%
user
.
jid
if
user
.
jid
else
''
,
user
.
show
or
'Available'
,
user
.
role
or
'None'
,
user
.
affiliation
or
'None'
,
user
.
status
))
self
.
core
.
refresh_window
()
def
command_configure
(
self
,
arg
):
form
=
self
.
core
.
xmpp
.
plugin
[
'xep_0045'
].
getRoomForm
(
self
.
get_name
())
self
.
core
.
information
(
'%s'
%
form
)
if
not
form
:
return
self
.
core
.
open_new_form
(
form
,
self
.
cancel_config
,
self
.
send_config
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment