changeset 1578:c57133362fb7

pages (chat/select): fix search submission.
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 16:31:36 +0100
parents 9ba532041a8e
children 5db55d01ce05
files libervia/web/pages/chat/select/page_meta.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/web/pages/chat/select/page_meta.py	Wed Nov 22 16:31:36 2023 +0100
+++ b/libervia/web/pages/chat/select/page_meta.py	Wed Nov 22 16:31:36 2023 +0100
@@ -30,7 +30,7 @@
 
 @defer.inlineCallbacks
 def on_data_post(self, request):
-    jid_ = self.get_posted_data(request, "jid")
+    jid_ = self.get_posted_data(request, "search")
     if "@" not in jid_:
         profile = self.get_profile(request)
         service = yield self.host.bridge_call("muc_get_service", "", profile)