mirror of https://github.com/zlatinb/muwire
prevent NPE if no contact selected
parent
f0a27005c1
commit
d3d7b39b69
|
@ -162,6 +162,8 @@ class ChatRoomController {
|
||||||
|
|
||||||
void viewProfile() {
|
void viewProfile() {
|
||||||
PersonaOrProfile pop = view.getSelectedPOP()
|
PersonaOrProfile pop = view.getSelectedPOP()
|
||||||
|
if (pop == null)
|
||||||
|
return
|
||||||
ViewProfileHelper.initViewProfileGroup(model.core, mvcGroup, pop)
|
ViewProfileHelper.initViewProfileGroup(model.core, mvcGroup, pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue