Fixed a bug in the previous commit that prevented the Roster to find an
app if the type had no preferred application at all. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16566 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0bad0dd05e
commit
39e26f6113
@ -2132,7 +2132,7 @@ BRoster::_TranslateType(const char *mimeType, BMimeType *appMeta,
|
||||
superType.GetPreferredApp(secondarySignature);
|
||||
|
||||
if (type.GetPreferredApp(primarySignature) != B_OK
|
||||
&& !primarySignature[0]) {
|
||||
&& !secondarySignature[0]) {
|
||||
// The type is installed, but has no preferred app.
|
||||
// In fact it might be an app signature and even having a
|
||||
// valid app hint. Nevertheless we fail.
|
||||
|
Loading…
Reference in New Issue
Block a user