mirror of https://github.com/zlatinb/muwire
prevent exceptions in event dispatch thread on profile fetching
parent
7906bbffdb
commit
b11894a545
|
@ -144,6 +144,8 @@ class TrustService extends Service {
|
|||
}
|
||||
|
||||
void onMWProfileFetchEvent(MWProfileFetchEvent event) {
|
||||
if (event.profile == null)
|
||||
return
|
||||
def dest = event.profile.getHeader().getPersona().getDestination()
|
||||
TrustEntry te = good[dest]
|
||||
if (te == null)
|
||||
|
|
Loading…
Reference in New Issue