dont list servers as contacts
This commit is contained in:
parent
c2d5217c7a
commit
51c7b56438
|
@ -92,6 +92,10 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
|
|||
|
||||
var contacts []Contact
|
||||
for _, contact := range profile.GetContacts() {
|
||||
if profile.GetContact(contact).IsServer() {
|
||||
continue
|
||||
}
|
||||
|
||||
cpicVal, ok := profile.GetContactAttribute(contact, attr.GetPeerScope(constants.Picture))
|
||||
if !ok {
|
||||
cpicVal = ImageToString(NewImage(RandomProfileImage(contact), TypeImageDistro))
|
||||
|
|
Loading…
Reference in New Issue