diff --git a/utils/eventHandler.go b/utils/eventHandler.go index bbdb454..9953b1d 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -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))