From 359cf105940e3a7cf71b02f225203db0a77e6cac Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sat, 27 Jul 2019 22:21:04 -0400 Subject: [PATCH] registar: Revert part of 6967695c4ea72a15e7c718e43e8daf515acf4a2a. This broke the function, making all apps that wanted the list, e.g. Deskbar, ProcessController, etc. simply not display teams. --- src/servers/registrar/TRoster.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/servers/registrar/TRoster.cpp b/src/servers/registrar/TRoster.cpp index 90034edb1b..d5a2cba4cb 100644 --- a/src/servers/registrar/TRoster.cpp +++ b/src/servers/registrar/TRoster.cpp @@ -731,7 +731,8 @@ TRoster::HandleGetAppList(BMessage* request) status_t error = B_OK; // get the parameters const char* signature; - error = request->FindString("signature", &signature); + if (request->FindString("signature", &signature) != B_OK) + signature = NULL; // reply to the request if (error == B_OK) {