[OFMutableString stringWithString: @"<b>Resources:</b>"];
[allPresences enumerateKeysAndObjectsUsingBlock:
[OFMutableString stringWithString: @"<b>Resources:</b>"];
[allPresences enumerateKeysAndObjectsUsingBlock:
[tooltip appendString: @"\n"];
[tooltip appendString: resource];
if ([pres.type isEqual: @"available"]) {
[tooltip appendString: @"\n"];
[tooltip appendString: resource];
if ([pres.type isEqual: @"available"]) {