* Add maximal width for roster entries
* Nice looking padding
* Use random id
* Update strophejs version used
}
#friends {
+ display: none;
max-width: 50%;
+ padding: 1em;
background: grey;
float: left;
}
.friend {
float: left;
- margin: 2em;
+ margin: 0.5em;
text-align: center;
+ max-width: 10em;
}
.friend img, #vCard_container img {
var initialPresence = $pres().c('show').t('online').up().c('status').t('Hy, I am an socialXMPP instance').up().c('priority').t('1').up().c('c', {xmlns: NS_CAPS, hash: 'sha-1', node: 'http://jabber.babelmonkeys.de', ver: genCaps()}).up();
connection.send(initialPresence.tree());
+ $('#friends').show();
+
return false;
}
function getRoster() {
- var id = 'getRoster';
+ var id = connection.getUniqueId('roster');
var rosteriq = $iq({'id':id,
'type':'get'}
$('#log').empty();
$('#ownInfo').hide();
$('#vCard_container').empty();
- $('#friends').empty();
+ $('#friends').hide();
$('.chat').remove();
$('label').show();
jid.show();
-Subproject commit b3177bf164e2a8d26f18535d117a18f935340379
+Subproject commit 869a007c919936756c3f00cd298450e6a6b27a7a