prevent exceptions in event dispatch thread on profile fetching

dbus-notify
Zlatin Balevsky 2022-06-05 08:13:20 +01:00
parent 7906bbffdb
commit b11894a545
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 2 additions and 0 deletions

View File

@ -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)