Skip to content
Snippets Groups Projects
Commit a9ac0919 authored by gnaegi's avatar gnaegi
Browse files

OO-3475 do not link to visiting card for deleted users

parent bd603bf6
No related branches found
No related tags found
No related merge requests found
......@@ -652,6 +652,10 @@ public class MessageListController extends BasicController implements GenericEve
visitingCardLink.setUserObject(creator);
LinkPopupSettings settings = new LinkPopupSettings(800, 600, "_blank");
visitingCardLink.setPopup(settings);
if (creator.getStatus().equals(Identity.STATUS_DELETED)) {
// keep link to show something, but disable
visitingCardLink.setEnabled(false);
}
}
if(!isThreadClosed) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment