diff --git a/utils/eventHandler.go b/utils/eventHandler.go index 39d045e..311c00a 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -239,6 +239,10 @@ func (eh *EventHandler) handleProfileEvent(ev *EventProfileEnvelope) string { // only needs contact nickname and picture, for displaying on popup notifications ev.Event.Data["Nick"] = ph.GetNick(ev.Event.Data["RemotePeer"]) ev.Event.Data["Picture"] = ph.GetProfilePic(ev.Event.Data["RemotePeer"]) + case event.NewMessageFromGroup: + // only needs contact nickname and picture, for displaying on popup notifications + ev.Event.Data["Nick"] = ph.GetNick(ev.Event.Data[event.GroupID]) + ev.Event.Data["Picture"] = ph.GetProfilePic(ev.Event.Data[event.GroupID]) case event.PeerAcknowledgement: // No enrichement required case event.PeerCreated: