Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions config.inc.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ $rcmail_config['converse_xmpp_hostname']= function($args) {
return 'example.net';
# return preg_replace('/^.*@/', '', $args['user']);
# return $args['host'];

#if (strstr($args['user'], "@")){
# return preg_replace('/^.*@/', '', $args['user']);
#} else {
# $host = $_SERVER['HTTP_HOST'];
# $domain = isset($host) ? $host : '';
# if (preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/i', $domain, $regs)) {
# $host = $regs['domain'];
# }
# return $host;
#}
};

// Username portion of XMPP username (bare JID), example: "user"
Expand Down
4 changes: 2 additions & 2 deletions css/converse.css
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ dl.add-converse-contact {
width: 100%;
position: relative;
margin: 0.5em 0 0 0;
height: 194px;
height: 100%;
height: calc(100% - 68px);
overflow: hidden;
}
Expand All @@ -981,7 +981,7 @@ dl.add-converse-contact {
#converse-roster .filter-type {
height: 20px;
padding: 0;
margin: 0 0 0 -5px;
margin: 0 0 0 0px;
}
/* (jQ addClass:) if input has value: */
#converse-roster .roster-filter.x {
Expand Down
2 changes: 1 addition & 1 deletion css/converse.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/converse-no-otr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/converse.min.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions skins/larry/converse.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
}

#converse-roster {
height: 196px;
width:100%;
position:relative;
margin:.5em 0 0;
height:100%;
height:calc(100% - 68px);
overflow: hidden;
}

Expand Down Expand Up @@ -154,8 +158,10 @@ div#settings

#converse-roster .roster-filter {
width: 93px;
height: 18px;
vertical-align: top;
}

#converse-roster .filter-type {
width: 94px;
width: 85px;
}